lol
1{ lib, stdenv, fetchurl, libpng, netpbm }:
2
3stdenv.mkDerivation rec {
4 pname = "sng";
5 version = "1.1.0";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/sng/sng-${version}.tar.gz";
9 sha256 = "06a6ydvx9xb3vxvrzdrg3hq0rjwwj9ibr7fyyxjxq6qx1j3mb70i";
10 };
11
12 buildInputs = [ libpng ];
13
14 configureFlags = [
15 "--with-rgbtxt=${netpbm.out}/share/netpbm/misc/rgb.txt"
16 ];
17
18 meta = with lib; {
19 description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form";
20 homepage = "https://sng.sourceforge.net/";
21 license = licenses.zlib;
22 maintainers = [ maintainers.dezgeg ];
23 platforms = platforms.unix;
24 };
25}