25 lines
667 B
Nix
25 lines
667 B
Nix
{stdenv, fetchFromGitLab, autoreconfHook, libtool, libxml2}: stdenv.mkDerivation rec {
|
|
pname = "libxslt";
|
|
version = "1.1.26";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "GNOME";
|
|
repo = pname;
|
|
rev = "v" + version;
|
|
hash = "sha256-PaKgvQQotmCbpGiWhm9TtSAGGN8wJQNmRvEmtro/pqQ=";
|
|
};
|
|
|
|
#buildInputs = [autoconf269 automake];
|
|
buildInputs = [autoreconfHook libxml2];
|
|
patchPhase = ''
|
|
export ACLOCAL_PATH=${libtool}/share/aclocal:$ACLOCAL_PATH
|
|
'';
|
|
#export CFLAGS="-Wno-incompatible-pointer-types"
|
|
|
|
/*configurePhase = ''
|
|
autoreconf
|
|
./configure
|
|
'';*/
|
|
}
|