diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-03-23 22:40:46 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-03-23 22:40:46 +0000 |
commit | 60b8b2b6139c60cbc3c019a6bed377ccf862cde8 (patch) | |
tree | a038d865a6d10fb7e75ffb14995ae2ada96e5f0a | |
parent | c80ae6de3a20481e10cc1af058d7460831b1f8d7 (diff) |
Adding pngnq.
svn path=/nixpkgs/trunk/; revision=20801
-rw-r--r-- | pkgs/tools/graphics/pngnq/default.nix | 18 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/pngnq/default.nix b/pkgs/tools/graphics/pngnq/default.nix new file mode 100644 index 000000000000..d1b1cfad00dd --- /dev/null +++ b/pkgs/tools/graphics/pngnq/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl, libpng }: + +stdenv.mkDerivation rec { + name = "pngnq-1.0"; + + src = fetchurl { + url = "mirror://sourceforge/pngnq/${name}.tar.gz"; + sha256 = "19q07hlhr9p5d0wqgzyrcxdnqlczdwpiibcji0k2a6jfmxrcn4rl"; + }; + + buildInputs = [ libpng ]; + + meta = { + homepage = http://pngnq.sourceforge.net/; + description = "A PNG quantizer"; + license = "bsd"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 598cdf017763..3167e55c1420 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1356,6 +1356,10 @@ let inherit fetchurl stdenv libpng; }; + pngnq = import ../tools/graphics/pngnq { + inherit fetchurl stdenv libpng; + }; + povray = import ../tools/graphics/povray { inherit fetchurl stdenv; }; |