Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 38 lines 759 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isodate 5, html5lib 6, SPARQLWrapper 7, networkx 8, nose 9, python 10}: 11 12buildPythonPackage rec { 13 pname = "neurdflib"; 14 version = "5.0.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50"; 19 }; 20 21 propagatedBuildInputs = [ isodate html5lib SPARQLWrapper ]; 22 23 checkInputs = [ networkx nose ]; 24 25 # Python 2 syntax 26 # Failing doctest 27 doCheck = false; 28 29 checkPhase = '' 30 ${python.interpreter} run_tests.py 31 ''; 32 33 meta = with lib; { 34 description = "A temporary convenience package for changes waiting to be merged into the primary rdflib repo"; 35 homepage = "https://pypi.org/project/neurdflib"; 36 license = licenses.bsd3; 37 }; 38}