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

27 lines
687 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, python3, xxd, boost }:
2017-05-14 10:53:30 +02:00
stdenv.mkDerivation rec {
pname = "cryptominisat";
2020-07-08 06:51:18 +02:00
version = "5.8.0";
2017-05-14 10:53:30 +02:00
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
2020-07-08 06:51:18 +02:00
sha256 = "00hmxdlyhn7pwk9jlvc5g0l5z5xqfchjzf5jgn3pkj9xhl8yqq50";
2017-05-14 10:53:30 +02:00
};
2020-07-09 09:11:28 +02:00
patches = [ ./0001-fix-build-on-Nix-macOS.patch ];
2019-01-05 16:38:10 +01:00
buildInputs = [ python3 boost ];
2019-01-04 11:40:39 +01:00
nativeBuildInputs = [ cmake xxd ];
2017-05-14 10:53:30 +02:00
meta = with stdenv.lib; {
description = "An advanced SAT Solver";
homepage = "https://github.com/msoos/cryptominisat";
license = licenses.mit;
2017-05-14 10:53:30 +02:00
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
2017-05-14 10:53:30 +02:00
};
}