1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/graphics/pngtoico/default.nix
2017-08-03 11:56:15 +02:00

24 lines
621 B
Nix

{ 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 = {
homepage = https://www.kernel.org/pub/software/graphics/pngtoico/;
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}