batik: 1.6 -> 1.13
This commit is contained in:
parent
dc0d766f2d
commit
4725ad214a
|
@ -2,6 +2,6 @@ set -e
|
||||||
|
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
|
|
||||||
unzip $src
|
tar xzvf $src
|
||||||
mkdir $out
|
mkdir $out
|
||||||
mv batik-* $out/batik
|
mv batik-* $out/batik
|
||||||
|
|
|
@ -1,25 +1,19 @@
|
||||||
{stdenv, fetchurl, unzip}:
|
{stdenv, fetchurl, unzip}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "batik-1.6";
|
pname = "batik";
|
||||||
|
version = "1.13";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://tarballs.nixos.org/batik-1.6.zip";
|
url = "mirror://apache/xmlgraphics/batik/binaries/batik-bin-${version}.tar.gz";
|
||||||
sha256 = "0cf15dspmzcnfda8w5lbsdx28m4v2rpq1dv5zx0r0n99ihqd1sh6";
|
sha256 = "16sq90nbs6psgm3xz30sbs6r5dnpd3qzsvr1xvnp4yipwjcmhmkw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [unzip];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Java based toolkit for handling SVG";
|
description = "Java based toolkit for handling SVG";
|
||||||
homepage = "https://xmlgraphics.apache.org/batik";
|
homepage = "https://xmlgraphics.apache.org/batik";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
knownVulnerabilities = [
|
|
||||||
# vulnerabilities as of 16th October 2018 from https://xmlgraphics.apache.org/security.html:
|
|
||||||
"CVE-2018-8013"
|
|
||||||
"CVE-2017-5662"
|
|
||||||
"CVE-2015-0250"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue