depot/third_party/nixpkgs/pkgs/applications/science/logic/potassco/clingo.nix
Default email d87170d3f2 Project import generated by Copybara.
GitOrigin-RevId: 967d40bec14be87262b21ab901dbace23b7365db
2021-07-18 23:22:44 +02:00

24 lines
663 B
Nix

{ lib, stdenv, fetchzip, cmake }:
stdenv.mkDerivation rec {
pname = "clingo";
version = "5.5.0";
src = fetchzip {
url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz";
sha256 = "sha256-6xKtNi5IprjaFNadfk8kKjKzuPRanUjycLWCytnk0mU=";
};
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/";
};
}