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
38 lines
856 B
Nix
38 lines
856 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
bison,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "buddy";
|
|
version = "2.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/buddy/${pname}-${version}.tar.gz";
|
|
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
|
|
};
|
|
|
|
buildInputs = [ bison ];
|
|
patches = [ ./gcc-4.3.3-fixes.patch ];
|
|
configureFlags = [
|
|
"CFLAGS=-O3"
|
|
"CXXFLAGS=-O3"
|
|
];
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=register";
|
|
NIX_LDFLAGS = "-lm";
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://sourceforge.net/projects/buddy/";
|
|
description = "Binary decision diagram package";
|
|
license = {
|
|
url = "https://sourceforge.net/p/buddy/gitcode/ci/master/tree/README";
|
|
fullName = "Buddy License";
|
|
};
|
|
|
|
platforms = lib.platforms.unix; # Once had cygwin problems
|
|
};
|
|
}
|