mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 20:53:22 +00:00
sng: 1.1.0 -> 1.1.1
This commit is contained in:
parent
5a1faea675
commit
a4b3d54e40
@ -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;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user