depot/third_party/nixpkgs/pkgs/by-name/ap/approxmc/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

43 lines
780 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";
};
})