summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt/default.nix
blob: 896d0fc563bb64b56e549f5bd1b39892a0087c75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{stdenv, fetchurl, libxml2}:

assert libxml2 != null;

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