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

26 lines
697 B
Nix
Raw Normal View History

2018-03-12 16:51:54 +00:00
{ stdenv, fetchzip, cmake }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "clingo";
version = "5.2.2";
2018-03-12 16:51:54 +00:00
src = fetchzip {
url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz";
sha256 = "04rjwpna37gzm8vxr09z3z6ay8y8cxbjd8lga7xvqfpn2l178zjm";
};
buildInputs = [];
nativeBuildInputs = [cmake];
meta = {
inherit version;
description = "ASP system to ground and solve logic programs";
license = stdenv.lib.licenses.mit;
maintainers = [stdenv.lib.maintainers.raskin];
2018-03-12 16:51:54 +00:00
platforms = stdenv.lib.platforms.unix;
homepage = "https://potassco.org/";
downloadPage = "https://github.com/potassco/clingo/releases/";
};
}