summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt/default.nix
blob: 5f8ec9dde1bebbda714d52b681e5fb1010d855e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{stdenv, fetchurl, libxml2}:

stdenv.mkDerivation {
  name = "libxslt-1.1.24";
  
  src = fetchurl {
    url = ftp://xmlsoft.org/libxml2/libxslt-1.1.24.tar.gz;
    sha256 = "c0c10944841e9a79f29d409c6f8da0d1b1af0403eb3819c82c788dfa6a180b3e";
  };
  
  buildInputs = [libxml2];
  
  postInstall = ''
    ensureDir $out/nix-support
    ln -s ${libxml2}/nix-support/setup-hook $out/nix-support/
  '';

  meta = {
    homepage = http://xmlsoft.org/XSLT/;
    description = "A C library and tools to do XSL transformations";
  };
}