From f223e114dac2e2afbda1ba64bfefe91f2d86dbd5 Mon Sep 17 00:00:00 2001 From: Arseniy Seroka Date: Tue, 26 Apr 2016 18:53:33 +0300 Subject: [PATCH] xalanc: init at 1.11 --- pkgs/development/libraries/xalanc/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/libraries/xalanc/default.nix diff --git a/pkgs/development/libraries/xalanc/default.nix b/pkgs/development/libraries/xalanc/default.nix new file mode 100644 index 000000000000..8284fd7707fe --- /dev/null +++ b/pkgs/development/libraries/xalanc/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, xercesc }: + +stdenv.mkDerivation rec { + name = "xalan-c-${version}"; + version = "1.11"; + + src = fetchurl { + url = "http://www.eu.apache.org/dist/xalan/xalan-c/sources/xalan_c-${version}-src.tar.gz"; + sha256 = "0a3a2b15vpacnqgpp6fiy1pwyc8q6ywzvyb5445f6wixfdspypjg"; + }; + + configurePhase = '' + export XALANCROOT=`pwd`/c + cd `pwd`/c + mkdir -p $out/usr + ./runConfigure -p linux -c gcc -x g++ -P$out/usr + ''; + + buildInputs = [ xercesc ]; + + meta = { + homepage = http://xalan.apache.org/; + description = "A XSLT processor for transforming XML documents"; + license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.jagajaga ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 304cdce4cd7f..415c7c360a87 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9142,6 +9142,8 @@ in xercesc = callPackage ../development/libraries/xercesc {}; + xalanc = callPackage ../development/libraries/xalanc {}; + # Avoid using this. It isn't really a wrapper anymore, but we keep the name. xlibsWrapper = callPackage ../development/libraries/xlibs-wrapper { packages = [