3
0
Fork 0
forked from mirrors/nixpkgs

approxmc: init at 4.1.23

This commit is contained in:
t4ccer 2023-12-28 01:26:21 -07:00
parent 02f58ae811
commit 708f1b7d3c
No known key found for this signature in database
GPG key ID: 19E5A2D8B1E43F19

View file

@ -0,0 +1,43 @@
{ stdenv
, fetchFromGitHub
, cmake
, zlib
, gmp
, cryptominisat
, boost
, arjun-cnf
, louvain-community
, lib
}:
stdenv.mkDerivation (finalAttrs: {
pname = "approxmc";
version = "4.1.23";
src = fetchFromGitHub {
owner = "meelgroup";
repo = "approxmc";
rev = finalAttrs.version;
hash = "sha256-pE2m6Cc2u53H/5CM+2JuQxZOhjhHUZOi0kn23CJmALM=";
};
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";
};
})