Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
expat,
|
|
libproxy,
|
|
neon,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.17";
|
|
pname = "litmus";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "notroj";
|
|
repo = "litmus";
|
|
tag = version;
|
|
# Required for neon m4 macros, bundled neon not used
|
|
fetchSubmodules = true;
|
|
hash = "sha256-JsFyZeaUTDCFZtlG8kyycTE14i4U4R6lTTVWLPjKGPU=";
|
|
};
|
|
|
|
postPatch = ''
|
|
# neon version requirements are broken, remove them:
|
|
# configure: incompatible neon library version 0.32.5: wanted 0.27 28 29 30 31 32
|
|
# configure: using bundled neon (0.32.5)
|
|
sed -i /NE_REQUIRE_VERSIONS/d configure.ac
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
expat
|
|
libproxy
|
|
neon
|
|
zlib
|
|
];
|
|
|
|
autoreconfFlags = [
|
|
"-I"
|
|
"neon/macros"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "WebDAV server protocol compliance test suite";
|
|
homepage = "http://www.webdav.org/neon/litmus/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.lorenz ];
|
|
mainProgram = "litmus";
|
|
};
|
|
}
|