BefatorNix/libxslt.nix
2025-08-15 00:04:14 +02:00

25 lines
698 B
Nix

{stdenv, fetchFromGitLab, autoreconfHook, libtool, libxml2, breakpointHook}: 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 breakpointHook];
patchPhase = ''
export ACLOCAL_PATH=${libtool}/share/aclocal:$ACLOCAL_PATH
'';
#export CFLAGS="-Wno-incompatible-pointer-types"
/*configurePhase = ''
autoreconf
./configure
'';*/
}