mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #217989 from kilianar/cryptominisat-5.11.4
cryptominisat: 5.8.0 -> 5.11.4
This commit is contained in:
commit
a9167d159b
@ -1,32 +1,30 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, python3, xxd, boost, fetchpatch }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, python3
|
||||||
|
, boost
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cryptominisat";
|
pname = "cryptominisat";
|
||||||
version = "5.8.0";
|
version = "5.11.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "msoos";
|
owner = "msoos";
|
||||||
repo = "cryptominisat";
|
repo = "cryptominisat";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "00hmxdlyhn7pwk9jlvc5g0l5z5xqfchjzf5jgn3pkj9xhl8yqq50";
|
hash = "sha256-7JNfFKSYWgyyNnWNzXGLqWRwSW+5r6PBMelKeAmx8sc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# https://github.com/msoos/cryptominisat/pull/621
|
|
||||||
url = "https://github.com/msoos/cryptominisat/commit/11a97003b0bfbfb61ed6c4e640212110d390c28c.patch";
|
|
||||||
sha256 = "0hdy345bwcbxz0jl1jdxfa6mmfh77s2pz9rnncsr0jzk11b3j0cw";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ python3 boost ];
|
buildInputs = [ python3 boost ];
|
||||||
nativeBuildInputs = [ cmake xxd ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An advanced SAT Solver";
|
description = "An advanced SAT Solver";
|
||||||
homepage = "https://github.com/msoos/cryptominisat";
|
homepage = "https://github.com/msoos/cryptominisat";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ mic92 ];
|
maintainers = with maintainers; [ mic92 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user