2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libpng, netpbm }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sng";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/sng/sng-${version}.tar.gz";
|
|
|
|
sha256 = "06a6ydvx9xb3vxvrzdrg3hq0rjwwj9ibr7fyyxjxq6qx1j3mb70i";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-rgbtxt=${netpbm.out}/share/netpbm/misc/rgb.txt"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://sng.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "sng";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|