depot/third_party/nixpkgs/pkgs/applications/science/logic/cryptominisat/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

30 lines
610 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, python3
, boost
}:
stdenv.mkDerivation rec {
pname = "cryptominisat";
version = "5.11.4";
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
hash = "sha256-7JNfFKSYWgyyNnWNzXGLqWRwSW+5r6PBMelKeAmx8sc=";
};
buildInputs = [ python3 boost ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "An advanced SAT Solver";
homepage = "https://github.com/msoos/cryptominisat";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
};
}