diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-01-04 09:29:52 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-01-04 09:29:52 +0000 |
commit | b15381fcf64cce388556936fafae92adc49c7f6c (patch) | |
tree | 29da6dd1a3b1c5807453ac755cd9396895cae5b7 /pkgs/tools/graphics/pngtoico/default.nix | |
parent | b3709689db6af30e4517f678ff3844a32c9382f4 (diff) |
Adding pngtoico.
svn path=/nixpkgs/trunk/; revision=31264
Diffstat (limited to 'pkgs/tools/graphics/pngtoico/default.nix')
-rw-r--r-- | pkgs/tools/graphics/pngtoico/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/pngtoico/default.nix b/pkgs/tools/graphics/pngtoico/default.nix new file mode 100644 index 0000000000000..df1046cb750ff --- /dev/null +++ b/pkgs/tools/graphics/pngtoico/default.nix @@ -0,0 +1,23 @@ +{ 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 = http://www.kernel.org/pub/software/graphics/pngtoico/; + description = "Small utility to convert a set of PNG images to Microsoft ICO format"; + license = "GPLv2+"; + platforms = with stdenv.lib.platforms; linux; + }; +} |