2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib, gmp }:
|
2017-08-20 09:18:53 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2021-11-07 13:50:48 +00:00
|
|
|
pname = "open-wbo";
|
|
|
|
version = "2.0";
|
2017-08-20 09:18:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sat-group";
|
|
|
|
repo = "open-wbo";
|
|
|
|
rev = "f193a3bd802551b13d6424bc1baba6ad35ec6ba6";
|
|
|
|
sha256 = "1742i15qfsbf49c4r837wz35c1p7yafvz7ar6vmgcj6cmfwr8jb4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib gmp ];
|
|
|
|
|
|
|
|
makeFlags = [ "r" ];
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm0755 open-wbo_release $out/bin/open-wbo
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-08-20 09:18:53 +01:00
|
|
|
description = "State-of-the-art MaxSAT and Pseudo-Boolean solver";
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://sat.inesc-id.pt/open-wbo/";
|
2017-08-20 09:18:53 +01:00
|
|
|
};
|
|
|
|
}
|