2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, libpng, netpbm }:
|
2015-10-25 14:16:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sng";
|
2016-07-05 12:54:22 +01: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 12:54:22 +01:00
|
|
|
sha256 = "06a6ydvx9xb3vxvrzdrg3hq0rjwwj9ibr7fyyxjxq6qx1j3mb70i";
|
2015-10-25 14:16:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
|
|
|
|
configureFlags = [
|
2020-02-25 23:41:09 +00:00
|
|
|
"--with-rgbtxt=${netpbm.out}/share/netpbm/misc/rgb.txt"
|
2015-10-25 14:16:02 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-10-25 14:16:02 +00:00
|
|
|
description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://sng.sourceforge.net/";
|
2015-10-25 14:16:02 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
2018-11-15 21:54:04 +00:00
|
|
|
platforms = platforms.unix;
|
2015-10-25 14:16:02 +00:00
|
|
|
};
|
|
|
|
}
|