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