nixpkgs/pkgs/applications/science/logic/glucose/default.nix
2016-06-21 13:26:51 +02:00

25 lines
663 B
Nix

{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
name = "glucose-${version}";
version = "4.0";
src = fetchurl {
url = "http://www.labri.fr/perso/lsimon/downloads/softwares/glucose-syrup.tgz";
sha256 = "0bq5l2jabhdfhng002qfk0mcj4pfi1v5853x3c7igwfrgx0jmfld";
};
buildInputs = [ zlib ];
sourceRoot = "glucose-syrup/simp";
makeFlags = [ "r" ];
installPhase = ''
install -Dm0755 glucose_release $out/bin/glucose
'';
meta = with stdenv.lib; {
description = "Modern, parallel SAT solver (sequential version)";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ gebner ];
};
}