summary refs log blame commit diff
path: root/pkgs/applications/science/logic/potassco/clingo.nix
blob: 2e907a2d3a36439692b3b1c4fe6b68a20a2877f7 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                 
 
                         
                   
                    
 

                                                                          
                                                                   

    
                                
 

                                                    
          
                                                                  


                                           



                                                                  
{ 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/";
  };
}