2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchzip, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clingo";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "5.4.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz";
|
2020-12-09 12:39:15 +00:00
|
|
|
sha256 = "1f0q5f71s696ywxcjlfz7z134m1h7i39j9sfdv8hlw2w3g5nppc3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DCLINGO_BUILD_WITH_PYTHON=OFF" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = "ASP system to ground and solve logic programs";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
homepage = "https://potassco.org/";
|
|
|
|
downloadPage = "https://github.com/potassco/clingo/releases/";
|
|
|
|
};
|
|
|
|
}
|