1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/project/potassco/clasp/${version}/clasp-${version}-source.tar.gz";
9 sha256 = "1zkjqc4gp4n9p2kf3k3z8x82g42any4p3shhhivny89z1jlxi9zn";
12 preConfigure = "patchShebangs ./configure.sh";
13 configureScript = "./configure.sh";
15 preBuild = "cd build/release";
19 cp bin/clasp $out/bin/clasp
23 description = "Answer set solver for (extended) normal and disjunctive logic programs";
24 homepage = "http://potassco.sourceforge.net/";
25 platforms = platforms.all;
26 maintainers = [ maintainers.hakuch ];
27 license = licenses.gpl2Plus;