mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
662 B
Nix
26 lines
662 B
Nix
{ stdenv, fetchurl, libpng, netpbm }:
|
|
|
|
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}/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.unix;
|
|
};
|
|
}
|