nixpkgs/pkgs/tools/graphics/pngtoico/default.nix

24 lines
612 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv, fetchurl, libpng }:
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
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 = {
homepage = "https://www.kernel.org/pub/software/graphics/pngtoico/";
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
2021-01-15 10:19:50 +01:00
license = lib.licenses.gpl2Plus;
platforms = with lib.platforms; linux;
};
}