sng: 1.1.0 -> 1.1.1

This commit is contained in:
Anderson Torres 2024-09-18 11:01:20 -03:00
parent 5a1faea675
commit a4b3d54e40

View File

@ -1,5 +1,6 @@
{
lib,
asciidoctor,
fetchurl,
libpng,
netpbm,
@ -8,16 +9,27 @@
stdenv.mkDerivation (finalAttrs: {
pname = "sng";
version = "1.1.0";
version = "1.1.1";
src = fetchurl {
url = "mirror://sourceforge/sng/sng-${finalAttrs.version}.tar.gz";
hash = "sha256-EZxVhwwdG9xl996dvGKSnMsMMBwvt59332P11HfzRhk=";
url = "mirror://sourceforge/sng/sng-${finalAttrs.version}.tar.xz";
hash = "sha256-yb37gPWhfbGquTN7rtZKjr6lwN34KRXGiHuM+4fs5h4=";
};
nativeBuildInputs = [ asciidoctor ];
buildInputs = [ libpng ];
configureFlags = [ "--with-rgbtxt=${netpbm.out}/share/netpbm/misc/rgb.txt" ];
outputs = [
"out"
"man"
];
makeFlags = [
"prefix=$(out)"
"MANDIR=$(outputMan)/share/man"
"RGBTXT=${netpbm.out}/share/netpbm/misc/rgb.txt"
];
strictDeps = true;
@ -26,7 +38,10 @@ stdenv.mkDerivation (finalAttrs: {
description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form";
license = lib.licenses.zlib;
mainProgram = "sng";
maintainers = with lib.maintainers; [ dezgeg ];
maintainers = with lib.maintainers; [
dezgeg
AndersonTorres
];
platforms = lib.platforms.unix;
};
})