2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, zlib }:
|
2010-12-05 19:54:27 +00:00
|
|
|
|
2016-05-08 14:32:58 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "minisat";
|
2019-12-30 02:31:33 +00:00
|
|
|
version = "2.2.1";
|
2016-05-08 14:32:58 +01:00
|
|
|
|
2019-12-30 02:31:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "releases/${version}";
|
|
|
|
sha256 = "14vcbjnlia00lpyv2fhbmw3wbc9bk9h7bln9zpyc3nwiz5cbjz4a";
|
2010-12-05 19:54:27 +00:00
|
|
|
};
|
|
|
|
|
2019-12-30 02:31:33 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2016-05-08 14:32:58 +01:00
|
|
|
buildInputs = [ zlib ];
|
2010-12-05 19:54:27 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-05-08 14:32:58 +01:00
|
|
|
description = "Compact and readable SAT solver";
|
|
|
|
maintainers = with maintainers; [ gebner raskin ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://minisat.se/";
|
2010-12-05 19:54:27 +00:00
|
|
|
};
|
2016-05-08 14:32:58 +01:00
|
|
|
}
|