2015-10-25 15:16:02 +01:00
|
|
|
{ stdenv, fetchurl, libpng, netpbm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sng";
|
2016-07-05 13:54:22 +02:00
|
|
|
version = "1.1.0";
|
2015-10-25 15:16:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/sng/sng-${version}.tar.gz";
|
2016-07-05 13:54:22 +02:00
|
|
|
sha256 = "06a6ydvx9xb3vxvrzdrg3hq0rjwwj9ibr7fyyxjxq6qx1j3mb70i";
|
2015-10-25 15:16:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
|
|
|
|
configureFlags = [
|
2020-02-26 00:41:09 +01:00
|
|
|
"--with-rgbtxt=${netpbm.out}/share/netpbm/misc/rgb.txt"
|
2015-10-25 15:16:02 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
2018-11-15 22:54:04 +01:00
|
|
|
platforms = platforms.unix;
|
2015-10-25 15:16:02 +01:00
|
|
|
};
|
|
|
|
}
|