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