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
47 lines
832 B
Nix
47 lines
832 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
bison,
|
|
flex,
|
|
perl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "jbofihe";
|
|
version = "0.43";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lojban";
|
|
repo = "jbofihe";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "1xx7x1256sjncyzx656jl6jl546vn8zz0siymqalz6v9yf341p98";
|
|
};
|
|
|
|
patches = [
|
|
# fix build with gcc14:
|
|
# https://github.com/lojban/jbofihe/pull/19
|
|
./fix-gcc14-errors.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
bison
|
|
flex
|
|
perl
|
|
];
|
|
|
|
doCheck = true;
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
(cd tests && ./run *.in)
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = {
|
|
description = "Parser & analyser for Lojban";
|
|
homepage = "https://github.com/lojban/jbofihe";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ chkno ];
|
|
};
|
|
})
|