From fd2d743748ae9affca3228c317b4ea208b1b860c Mon Sep 17 00:00:00 2001 From: Roy van den Broek Date: Tue, 25 Apr 2006 13:12:45 +0000 Subject: [PATCH] Added Xalan-Java 2.7.0 (binary). svn path=/nixpkgs/trunk/; revision=5212 --- pkgs/development/libraries/java/xalanj/builder.sh | 5 +++++ pkgs/development/libraries/java/xalanj/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/java/xalanj/builder.sh create mode 100644 pkgs/development/libraries/java/xalanj/default.nix diff --git a/pkgs/development/libraries/java/xalanj/builder.sh b/pkgs/development/libraries/java/xalanj/builder.sh new file mode 100644 index 000000000000..4d172b0a4c59 --- /dev/null +++ b/pkgs/development/libraries/java/xalanj/builder.sh @@ -0,0 +1,5 @@ +source $stdenv/setup + +unpackPhase +mkdir -p $out +cp -r $directory/* $out diff --git a/pkgs/development/libraries/java/xalanj/default.nix b/pkgs/development/libraries/java/xalanj/default.nix new file mode 100644 index 000000000000..af13a5015fd7 --- /dev/null +++ b/pkgs/development/libraries/java/xalanj/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl}: + +/* +This is a binary package containing the jars... yuck! +*/ +stdenv.mkDerivation { + name = "xalanj-2.7.0"; + directory = "xalan-j_2_7_0"; + src = fetchurl { + url = "http://apache.cs.uu.nl/dist/xml/xalan-j/xalan-j_2_7_0-bin-2jars.tar.gz"; + md5 = "4d7b03dcaf2484b5f9685cc4309a9910"; + }; + builder = ./builder.sh; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f0f0ff06708..80c7c2e992e9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1416,6 +1416,10 @@ rec { inherit (xlibs) libXtst; }; + xalanj = import ../development/libraries/java/xalanj { + inherit stdenv fetchurl; + }; + ### DEVELOPMENT / LIBRARIES / HASKELL uulib = import ../development/libraries/haskell/uulib {