Skip to content

Commit

Permalink
Merge pull request #90424 from kini/drat-trim/bump
Browse files Browse the repository at this point in the history
drat-trim: 2017-08-31 -> 2020-06-05
  • Loading branch information
dywedir committed Jul 26, 2020
2 parents 1e084a8 + b28d329 commit 77d6eeb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/applications/science/logic/drat-trim/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
name = "drat-trim-2017-08-31";
pname = "drat-trim-unstable";
version = "2020-06-05";

src = fetchFromGitHub {
owner = "marijnheule";
repo = "drat-trim";
rev = "37ac8f874826ffa3500a00698910e137498defac";
sha256 = "1m9q47dfnvdli1z3kb1jvvbm0dgaw725k1aw6h9w00bggqb91bqh";
rev = "9afad0f7156a1e9c6ce19dce5d72cf1cb9a3ef27";
sha256 = "1zq585igfaknwqbvv2cji744016zxadbvr0ifr5l6yq13m0vvn3b";
};

postPatch = ''
substituteInPlace Makefile --replace gcc cc
'';

installPhase = ''
install -Dt $out/bin drat-trim
install -Dt $out/bin drat-trim lrat-check
'';

meta = with stdenv.lib; {
Expand All @@ -31,6 +32,10 @@ stdenv.mkDerivation {
annual SAT Competition in recent years, in order to check
competing SAT solvers' work when they claim that a SAT instance
is unsatisfiable.
This package also contains the related tool LRAT-check, which checks a
proof format called LRAT which extends DRAT with hint statements to speed
up the checking process.
'';
homepage = "https://www.cs.utexas.edu/~marijn/drat-trim/";
license = licenses.mit;
Expand Down

0 comments on commit 77d6eeb

Please sign in to comment.