My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/sparqlwrapper/default.nix

32 lines
734 B

{ lib
, buildPythonPackage
, fetchPypi
, keepalive
}:
buildPythonPackage rec {
pname = "sparqlwrapper";
version = "2.0.0";
src = fetchPypi {
pname = "SPARQLWrapper";
inherit version;
sha256 = "sha256-P+0+vMd2F6SnTSZEuG/Yjg8y5/cAOseyszTAJiAXMfE=";
};
# break circular dependency loop
patchPhase = ''
sed -i '/rdflib/d' setup.cfg
'';
# Doesn't actually run tests
doCheck = false;
propagatedBuildInputs = [ keepalive ];
meta = with lib; {
description = "This is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, convert the result into a more manageable format";
homepage = "http://rdflib.github.io/sparqlwrapper";
license = licenses.w3c;
};
}