2019-01-05 15:38:10 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, python3, xxd, boost }:
|
2017-05-14 09:53:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cryptominisat-${version}";
|
2019-03-02 00:58:38 +00:00
|
|
|
version = "5.6.8";
|
2017-05-14 09:53:30 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-07-24 02:25:27 +01:00
|
|
|
owner = "msoos";
|
|
|
|
repo = "cryptominisat";
|
|
|
|
rev = version;
|
2019-03-02 00:58:38 +00:00
|
|
|
sha256 = "0csimmy1nvkfcsxjra9bm4mlcyxa3ac8zarm88zfb7640ca0d0wv";
|
2017-05-14 09:53:30 +01:00
|
|
|
};
|
|
|
|
|
2019-01-05 15:38:10 +00:00
|
|
|
buildInputs = [ python3 boost ];
|
2019-01-04 10:40:39 +00:00
|
|
|
nativeBuildInputs = [ cmake xxd ];
|
2017-05-14 09:53:30 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An advanced SAT Solver";
|
2017-07-24 02:25:27 +01:00
|
|
|
homepage = https://github.com/msoos/cryptominisat;
|
|
|
|
license = licenses.mit;
|
2017-05-14 09:53:30 +01:00
|
|
|
maintainers = with maintainers; [ mic92 ];
|
2017-07-24 02:25:27 +01:00
|
|
|
platforms = platforms.unix;
|
2017-05-14 09:53:30 +01:00
|
|
|
};
|
|
|
|
}
|