nixpkgs/pkgs/applications/science/logic/glucose/syrup.nix

25 lines
682 B
Nix
Raw Normal View History

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