01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
26 lines
672 B
Nix
26 lines
672 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "clingo";
|
|
version = "5.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "potassco";
|
|
repo = "clingo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-2vOscD5jengY3z9gHoY9y9y6RLfdzUj7BNKLyppNRac=";
|
|
};
|
|
|
|
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/";
|
|
};
|
|
}
|