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

31 lines
610 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, cmake
, python3
, boost
}:
stdenv.mkDerivation rec {
pname = "cryptominisat";
version = "5.11.4";
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
hash = "sha256-7JNfFKSYWgyyNnWNzXGLqWRwSW+5r6PBMelKeAmx8sc=";
};
buildInputs = [ python3 boost ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "An advanced SAT Solver";
homepage = "https://github.com/msoos/cryptominisat";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
};
}