mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 23:10:02 +00:00
25 lines
692 B
Nix
25 lines
692 B
Nix
{ stdenv, fetchurl, zlib, glucose }:
|
|
stdenv.mkDerivation rec {
|
|
name = "glucose-syrup-${version}";
|
|
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/${name}/"
|
|
install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${name}/"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Modern, parallel SAT solver (parallel version)";
|
|
license = licenses.unfreeRedistributable;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ gebner ];
|
|
};
|
|
}
|