3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/logic/potassco/clingo.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
672 B
Nix
Raw Normal View History

2021-12-13 14:34:36 +00:00
{ lib, stdenv, fetchFromGitHub, cmake }:
2018-03-12 16:51:54 +00:00
stdenv.mkDerivation rec {
pname = "clingo";
2022-11-07 17:55:20 +00:00
version = "5.6.2";
2021-12-13 14:34:36 +00:00
src = fetchFromGitHub {
owner = "potassco";
repo = "clingo";
rev = "v${version}";
2022-11-07 17:55:20 +00:00
sha256 = "sha256-2vOscD5jengY3z9gHoY9y9y6RLfdzUj7BNKLyppNRac=";
};
2019-09-26 09:16:23 +01:00
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DCLINGO_BUILD_WITH_PYTHON=OFF" ];
meta = {
description = "ASP system to ground and solve logic programs";
2021-01-15 13:21:58 +00:00
license = lib.licenses.mit;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
homepage = "https://potassco.org/";
downloadPage = "https://github.com/potassco/clingo/releases/";
};
}