2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib, gmp }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "open-wbo";
|
|
|
|
version = "2.0";
|
2020-04-24 23:36:52 +00: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-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = (stdenv.isLinux && stdenv.isAarch64);
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "State-of-the-art MaxSAT and Pseudo-Boolean solver";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "open-wbo";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "http://sat.inesc-id.pt/open-wbo/";
|
|
|
|
};
|
|
|
|
}
|