Merge pull request #129822 from ck3d/saxonb-jre8

saxonb_8_8, saxon: Fix jre incompatibility
This commit is contained in:
Sandro 2021-07-12 03:15:29 +02:00 committed by GitHub
commit f2f04c39ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, unzip, jre }:
{ lib, stdenv, fetchurl, unzip, jre, jre8 }:
let
common = { pname, version, src, description
common = { pname, version, src, description, java ? jre
, prog ? null, jar ? null, license ? lib.licenses.mpl20 }:
stdenv.mkDerivation {
name = "${pname}-${version}";
@ -45,6 +45,7 @@ in {
description = "XSLT 1.0 processor";
# http://saxon.sourceforge.net/saxon6.5.3/conditions.html
license = lib.licenses.mpl10;
java = jre8;
};
saxonb_8_8 = common {
@ -56,6 +57,7 @@ in {
sha256 = "15bzrfyd2f1045rsp9dp4znyhmizh1pm97q8ji2bc0b43q23xsb8";
};
description = "Complete and conformant processor of XSLT 2.0, XQuery 1.0, and XPath 2.0";
java = jre8;
};
saxonb_9_1 = common {