2016-02-06 12:21:18 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, libxml2, findXMLCatalogs }:
|
2006-10-12 16:43:01 +01:00
|
|
|
|
2009-10-30 12:42:48 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-28 14:40:37 +01:00
|
|
|
name = "libxslt-1.1.29";
|
2012-09-28 22:19:48 +01:00
|
|
|
|
2006-10-12 16:43:01 +01:00
|
|
|
src = fetchurl {
|
2015-04-04 15:07:31 +01:00
|
|
|
url = "http://xmlsoft.org/sources/${name}.tar.gz";
|
2016-09-28 14:40:37 +01:00
|
|
|
sha256 = "1klh81xbm9ppzgqk339097i39b7fnpmlj8lzn8bpczl3aww6x5xm";
|
2006-10-12 16:43:01 +01:00
|
|
|
};
|
2012-09-28 22:19:48 +01:00
|
|
|
|
2016-09-28 16:11:46 +01:00
|
|
|
patches = stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch;
|
2016-02-06 12:21:18 +00:00
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "bin" "dev" "out" "doc" ];
|
2015-07-26 23:25:53 +01:00
|
|
|
|
2012-09-28 22:19:48 +01:00
|
|
|
buildInputs = [ libxml2 ];
|
|
|
|
|
2014-11-25 16:52:43 +00:00
|
|
|
propagatedBuildInputs = [ findXMLCatalogs ];
|
|
|
|
|
2013-03-25 12:43:45 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--without-python"
|
|
|
|
"--without-crypto"
|
|
|
|
"--without-debug"
|
|
|
|
"--without-mem-debug"
|
|
|
|
"--without-debugger"
|
|
|
|
];
|
|
|
|
|
2015-10-05 12:23:01 +01:00
|
|
|
postFixup = ''
|
2015-12-02 09:03:23 +00:00
|
|
|
moveToOutput bin/xslt-config "$dev"
|
|
|
|
moveToOutput lib/xsltConf.sh "$dev"
|
|
|
|
moveToOutput share/man/man1 "$bin"
|
2015-10-05 12:23:01 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-02-03 16:14:23 +00:00
|
|
|
homepage = http://xmlsoft.org/XSLT/;
|
|
|
|
description = "A C library and tools to do XSL transformations";
|
2009-10-30 12:42:48 +00:00
|
|
|
license = "bsd";
|
2015-10-05 12:23:01 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2009-02-03 16:14:23 +00:00
|
|
|
};
|
2006-10-12 16:43:01 +01:00
|
|
|
}
|