nixpkgs-suyu/pkgs/applications/science/logic/minisat/default.nix
2020-04-10 17:54:53 +01:00

24 lines
583 B
Nix

{ stdenv, fetchFromGitHub, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "minisat";
version = "2.2.1";
src = fetchFromGitHub {
owner = "stp";
repo = pname;
rev = "releases/${version}";
sha256 = "14vcbjnlia00lpyv2fhbmw3wbc9bk9h7bln9zpyc3nwiz5cbjz4a";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
meta = with stdenv.lib; {
description = "Compact and readable SAT solver";
maintainers = with maintainers; [ gebner raskin ];
platforms = platforms.unix;
license = licenses.mit;
homepage = "http://minisat.se/";
};
}