diff --git a/pkgs/development/libraries/java/saxon/default.nix b/pkgs/development/libraries/java/saxon/default.nix index 15a89761340e..65eebfc7d611 100644 --- a/pkgs/development/libraries/java/saxon/default.nix +++ b/pkgs/development/libraries/java/saxon/default.nix @@ -47,7 +47,7 @@ in { license = stdenv.lib.licenses.mpl10; }; - saxonb = common { + saxonb_8_8 = common { pname = "saxonb"; version = "8.8"; jar = "saxon8"; @@ -57,4 +57,15 @@ in { }; description = "Complete and conformant processor of XSLT 2.0, XQuery 1.0, and XPath 2.0"; }; + + saxonb_9_1 = common { + pname = "saxonb"; + version = "9.1.0.8"; + jar = "saxon9"; + src = fetchurl { + url = mirror://sourceforge/saxon/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip; + sha256 = "1d39jdnwr3v3pzswm81zry6yikqlqy9dp2l2wmpqdiw00r5drg4j"; + }; + description = "Complete and conformant processor of XSLT 2.0, XQuery 1.0, and XPath 2.0"; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 988e298900eb..aeb66d3fc4df 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11322,9 +11322,12 @@ with pkgs; mockobjects = callPackage ../development/libraries/java/mockobjects { }; + saxonb = saxonb_8_8; + inherit (callPackages ../development/libraries/java/saxon { }) saxon - saxonb; + saxonb_8_8 + saxonb_9_1; smack = callPackage ../development/libraries/java/smack { };