Merge pull request #14399 from gebner/picosat-965

picosat: 960 -> 965, add proof support
This commit is contained in:
zimbatm 2016-04-03 14:57:28 +01:00
commit 6b69564af4

View file

@ -2,20 +2,18 @@
stdenv.mkDerivation rec {
name = "picosat-${version}";
version = "960";
version = "965";
src = fetchurl {
url = "http://fmv.jku.at/picosat/${name}.tar.gz";
sha256 = "05z8cfjk84mkna5ryqlq2jiksjifg3jhlgbijaq36sbn0i51iczd";
sha256 = "0m578rpa5rdn08d10kr4lbsdwp4402hpavrz6n7n53xs517rn5hm";
};
dontAddPrefix = true;
configureFlags = "--shared";
configurePhase = "./configure.sh --shared --trace";
installPhase = ''
mkdir -p $out/bin $out/lib $out/include/picosat
cp picomus "$out"/bin
cp picosat "$out"/bin
cp picomus picomcs picosat picogcnf "$out"/bin
cp libpicosat.a "$out"/lib
cp libpicosat.so "$out"/lib