aspcud: fix by updating the dependencies (#20086)

Depends on gringo but gringo is now maintained as part of the clingo
suite. This commit removes gringo (standalone) and replace it with
the latest version of clingo. This update follows closely the old
derivation for gringo (see 99e06fe).
This commit is contained in:
Théo Zimmermann
2016-11-03 12:14:45 +01:00
committed by Profpatsch
parent b6bd555c66
commit 93fbb947b3
5 changed files with 41 additions and 54 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchurl,
boost, clasp, cmake, gringo, re2c
boost, clasp, cmake, clingo, re2c
}:
let
@@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
sha256 = "029035vcdk527ssf126i8ipi5zs73gqpbrg019pvm9r24rf0m373";
};
buildInputs = [ boost clasp cmake gringo re2c ];
buildInputs = [ boost clasp cmake clingo re2c ];
buildPhase = ''
cmake -DCMAKE_BUILD_TYPE=Release \
-DGRINGO_LOC=${gringo}/bin/gringo \
-DGRINGO_LOC=${clingo}/bin/gringo \
-DCLASP_LOC=${clasp}/bin/clasp \
-DENCODING_LOC=$out/share/aspcud/specification.lp \
.