nixpkgs/pkgs/applications/science/logic/cryptominisat/default.nix

33 lines
926 B
Nix
Raw Normal View History

2020-07-09 00:21:21 -07:00
{ stdenv, fetchFromGitHub, cmake, python3, xxd, boost, fetchpatch }:
2017-05-14 01:53:30 -07:00
stdenv.mkDerivation rec {
pname = "cryptominisat";
2020-07-07 21:51:18 -07:00
version = "5.8.0";
2017-05-14 01:53:30 -07:00
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
2020-07-07 21:51:18 -07:00
sha256 = "00hmxdlyhn7pwk9jlvc5g0l5z5xqfchjzf5jgn3pkj9xhl8yqq50";
2017-05-14 01:53:30 -07:00
};
2020-07-09 00:21:21 -07:00
patches = [
(fetchpatch {
# https://github.com/msoos/cryptominisat/pull/621
url = "https://github.com/msoos/cryptominisat/commit/11a97003b0bfbfb61ed6c4e640212110d390c28c.patch";
sha256 = "0hdy345bwcbxz0jl1jdxfa6mmfh77s2pz9rnncsr0jzk11b3j0cw";
})
];
2020-07-09 00:11:28 -07:00
2019-01-05 07:38:10 -08:00
buildInputs = [ python3 boost ];
2019-01-04 02:40:39 -08:00
nativeBuildInputs = [ cmake xxd ];
2017-05-14 01:53:30 -07:00
meta = with stdenv.lib; {
description = "An advanced SAT Solver";
homepage = "https://github.com/msoos/cryptominisat";
license = licenses.mit;
2017-05-14 01:53:30 -07:00
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
2017-05-14 01:53:30 -07:00
};
}