depot/third_party/nixpkgs/pkgs/applications/science/logic/cryptominisat/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

30 lines
611 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, python3
, boost
}:
stdenv.mkDerivation rec {
pname = "cryptominisat";
version = "5.11.15";
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
hash = "sha256-OenuIPo5U0+egWMpxfaKWPLbO5YRQJSXLYptih+ZQQ0=";
};
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;
};
}