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