2015-10-25 14:16:02 +00:00
|
|
|
{ stdenv, fetchurl, libpng, netpbm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sng-${version}";
|
2016-07-05 11:54:22 +00:00
|
|
|
version = "1.1.0";
|
2015-10-25 14:16:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/sng/sng-${version}.tar.gz";
|
2016-07-05 11:54:22 +00:00
|
|
|
sha256 = "06a6ydvx9xb3vxvrzdrg3hq0rjwwj9ibr7fyyxjxq6qx1j3mb70i";
|
2015-10-25 14:16:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|