diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-10-25 16:16:02 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-10-25 16:17:44 +0200 |
commit | ebb060c3516a4946ae6e9e63dada6ade5bcf9ef2 (patch) | |
tree | fd309aea5ef7b8cb76c0e08d0cd5d8ae802e7a43 /pkgs/tools/graphics | |
parent | 354ae976b6f0ca06861953540454f3c84cdcf412 (diff) |
sng: init at 1.0.6
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/sng/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/sng/default.nix b/pkgs/tools/graphics/sng/default.nix new file mode 100644 index 000000000000..d9b06c2adf35 --- /dev/null +++ b/pkgs/tools/graphics/sng/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, libpng, netpbm }: + +stdenv.mkDerivation rec { + name = "sng-${version}"; + version = "1.0.6"; + + src = fetchurl { + url = "mirror://sourceforge/sng/sng-${version}.tar.gz"; + sha256 = "04ym62qh8blsqigm3kr1shj9pn62y373wdaavk74rzwjzlhwhmq6"; + }; + + buildInputs = [ libpng ]; + + configureFlags = [ + "--with-rgbtxt=${netpbm}/share/netpbm/misc/rgb.txt" + ]; + + meta = with stdenv.lib; { + description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form"; + homepage = http://sng.sourceforge.net/; + license = licenses.zlib; + maintainers = [ maintainers.dezgeg ]; + platforms = platforms.linux; + }; +} |