2012-01-04 10:29:52 +01:00
|
|
|
{ stdenv, fetchurl, libpng }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pngtoico-1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://kernel/software/graphics/pngtoico/pngtoico-1.0.tar.gz;
|
|
|
|
sha256 = "1xb4aa57sjvgqfp01br3dm72hf7q0gb2ad144s1ifrs09215fgph";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
sed -i s,/usr/local,$out, Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://www.kernel.org/pub/software/graphics/pngtoico/;
|
2012-01-04 10:29:52 +01:00
|
|
|
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-01-04 10:29:52 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|