2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, zlib, glucose }:
|
2016-06-21 12:26:51 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "glucose-syrup";
|
2017-11-08 08:55:15 +00:00
|
|
|
version = glucose.version;
|
2016-06-21 12:26:51 +01:00
|
|
|
|
2017-11-08 08:55:15 +00:00
|
|
|
src = glucose.src;
|
2016-06-21 12:26:51 +01:00
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2017-11-08 08:55:15 +00:00
|
|
|
sourceRoot = "glucose-syrup-${version}/parallel";
|
2016-06-21 12:26:51 +01:00
|
|
|
makeFlags = [ "r" ];
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm0755 glucose-syrup_release $out/bin/glucose-syrup
|
2019-08-15 13:41:18 +01:00
|
|
|
mkdir -p "$out/share/doc/${pname}-${version}/"
|
|
|
|
install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${pname}-${version}/"
|
2016-06-21 12:26:51 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-21 12:26:51 +01:00
|
|
|
description = "Modern, parallel SAT solver (parallel version)";
|
|
|
|
license = licenses.unfreeRedistributable;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
}
|