cryptominisat: init at 5.0.1
This commit is contained in:
parent
7786922240
commit
893c7b6112
31
pkgs/applications/science/logic/cryptominisat/default.nix
Normal file
31
pkgs/applications/science/logic/cryptominisat/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, python, vim }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cryptominisat-${version}";
|
||||
version = "5.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "msoos";
|
||||
repo = "cryptominisat";
|
||||
rev = version;
|
||||
sha256 = "0cpw5d9vplxvv3aaplhnga55gz1hy29p7s4pkw1306knkbhlzvkb";
|
||||
};
|
||||
|
||||
# vim for xxd binary
|
||||
buildInputs = [ python vim ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
patches = [(fetchpatch rec {
|
||||
name = "fix-exported-library-name.patch";
|
||||
url = "https://github.com/msoos/cryptominisat/commit/7a47795cbe5ad5a899731102d297f234bcade077.patch";
|
||||
sha256 = "11hf3cfqs4cykn7rlgjglq29lzqfxvlm0f20qasi0kdrz01cr30f";
|
||||
})];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An advanced SAT Solver";
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/msoos/cryptominisat;
|
||||
};
|
||||
}
|
@ -7438,6 +7438,8 @@ with pkgs;
|
||||
|
||||
cryptopp = callPackage ../development/libraries/crypto++ { };
|
||||
|
||||
cryptominisat = callPackage ../applications/science/logic/cryptominisat { };
|
||||
|
||||
curlcpp = callPackage ../development/libraries/curlcpp { };
|
||||
|
||||
cutee = callPackage ../development/libraries/cutee { };
|
||||
|
Loading…
Reference in New Issue
Block a user