c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
26 lines
672 B
Nix
26 lines
672 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "clingo";
|
|
version = "5.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "potassco";
|
|
repo = "clingo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-S0JAfMwg49aryKABbC/2oLCEkndVpMVcFE6X0vkbtNc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [ "-DCLINGO_BUILD_WITH_PYTHON=OFF" ];
|
|
|
|
meta = {
|
|
description = "ASP system to ground and solve logic programs";
|
|
license = lib.licenses.mit;
|
|
maintainers = [lib.maintainers.raskin];
|
|
platforms = lib.platforms.unix;
|
|
homepage = "https://potassco.org/";
|
|
downloadPage = "https://github.com/potassco/clingo/releases/";
|
|
};
|
|
}
|