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

25 lines
653 B
Nix
Raw Normal View History

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}";
version = "5.6.8";
2017-05-14 09:53:30 +01:00
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
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";
homepage = https://github.com/msoos/cryptominisat;
license = licenses.mit;
2017-05-14 09:53:30 +01:00
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
2017-05-14 09:53:30 +01:00
};
}