1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 keepalive, 6}: 7 8buildPythonPackage rec { 9 pname = "sparqlwrapper"; 10 version = "2.0.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 pname = "SPARQLWrapper"; 15 inherit version; 16 hash = "sha256-P+0+vMd2F6SnTSZEuG/Yjg8y5/cAOseyszTAJiAXMfE="; 17 }; 18 19 # break circular dependency loop 20 patchPhase = '' 21 sed -i '/rdflib/d' setup.cfg 22 ''; 23 24 # Doesn't actually run tests 25 doCheck = false; 26 27 propagatedBuildInputs = [ keepalive ]; 28 29 meta = with lib; { 30 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"; 31 mainProgram = "rqw"; 32 homepage = "http://rdflib.github.io/sparqlwrapper"; 33 license = licenses.w3c; 34 }; 35}