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, lib,
asciidoctor,
fetchurl, fetchurl,
libpng, libpng,
netpbm, netpbm,
@ -8,16 +9,27 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "sng"; pname = "sng";
version = "1.1.0"; version = "1.1.1";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/sng/sng-${finalAttrs.version}.tar.gz"; url = "mirror://sourceforge/sng/sng-${finalAttrs.version}.tar.xz";
hash = "sha256-EZxVhwwdG9xl996dvGKSnMsMMBwvt59332P11HfzRhk="; hash = "sha256-yb37gPWhfbGquTN7rtZKjr6lwN34KRXGiHuM+4fs5h4=";
}; };
nativeBuildInputs = [ asciidoctor ];
buildInputs = [ libpng ]; 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; 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"; description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form";
license = lib.licenses.zlib; license = lib.licenses.zlib;
mainProgram = "sng"; mainProgram = "sng";
maintainers = with lib.maintainers; [ dezgeg ]; maintainers = with lib.maintainers; [
dezgeg
AndersonTorres
];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
}) })