2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, zlib, glucose }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "glucose-syrup";
|
|
|
|
version = glucose.version;
|
|
|
|
|
|
|
|
src = glucose.src;
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
sourceRoot = "glucose-syrup-${version}/parallel";
|
|
|
|
makeFlags = [ "r" ];
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm0755 glucose-syrup_release $out/bin/glucose-syrup
|
|
|
|
mkdir -p "$out/share/doc/${pname}-${version}/"
|
|
|
|
install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${pname}-${version}/"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Modern, parallel SAT solver (parallel version)";
|
|
|
|
license = licenses.unfreeRedistributable;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
}
|