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
45 lines
792 B
Nix
45 lines
792 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
zlib,
|
|
gmp,
|
|
cryptominisat,
|
|
boost,
|
|
arjun-cnf,
|
|
louvain-community,
|
|
lib,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "approxmc";
|
|
version = "4.1.24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "meelgroup";
|
|
repo = "approxmc";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-rADPC7SVwzjUN5jb7Wt341oGfr6+LszIaBUe8QgmpRU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
zlib
|
|
gmp
|
|
cryptominisat
|
|
boost
|
|
arjun-cnf
|
|
louvain-community
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Approximate Model Counter";
|
|
homepage = "https://github.com/meelgroup/approxmc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ t4ccer ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "approxmc";
|
|
};
|
|
})
|