Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 35 lines 811 B view raw
1{ stdenv 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.4"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "21928e7a97f565e772cdeeb0abad428960f4307e3a13dbdd8f6d3da8a6a506c9"; 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 stdenv.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}