lol

python3Packages.rdflib: 6.0.1 -> 6.0.2

+43 -17
+43 -17
pkgs/development/python-modules/rdflib/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchPypi 3 - , isodate 4 4 , html5lib 5 - , SPARQLWrapper 5 + , isodate 6 6 , networkx 7 7 , nose 8 - , python 8 + , pyparsing 9 + , tabulate 10 + , pandas 11 + , pytestCheckHook 12 + , pythonOlder 13 + , SPARQLWrapper 9 14 }: 10 15 11 16 buildPythonPackage rec { 12 17 pname = "rdflib"; 13 - version = "6.0.1"; 18 + version = "6.0.2"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.7"; 14 22 15 23 src = fetchPypi { 16 24 inherit pname version; 17 - sha256 = "f071caff0b68634e4a7bd1d66ea3416ac98f1cc3b915938147ea899c32608728"; 25 + sha256 = "sha256-YTauBWABR07ir/X8W5VuYqEcOpxmuw89nAqqX7tWhU4="; 18 26 }; 19 27 20 - propagatedBuildInputs = [isodate html5lib SPARQLWrapper ]; 28 + propagatedBuildInputs = [ 29 + isodate 30 + html5lib 31 + pyparsing 32 + SPARQLWrapper 33 + ]; 21 34 22 - checkInputs = [ networkx nose ]; 35 + checkInputs = [ 36 + networkx 37 + pandas 38 + nose 39 + tabulate 40 + pytestCheckHook 41 + ]; 23 42 24 - # Python 2 syntax 25 - # Failing doctest 26 - doCheck = false; 43 + disabledTests = [ 44 + # Requires network access 45 + "api_key" 46 + "BerkeleyDBTestCase" 47 + "test_bad_password" 48 + "test_service" 49 + "testGuessFormatForParse" 50 + ]; 27 51 28 - checkPhase = '' 29 - ${python.interpreter} run_tests.py 30 - ''; 52 + pythonImportsCheck = [ 53 + "rdflib" 54 + ]; 31 55 32 - meta = { 33 - description = "A Python library for working with RDF, a simple yet powerful language for representing information"; 34 - homepage = "http://www.rdflib.net/"; 56 + meta = with lib; { 57 + description = "Python library for working with RDF"; 58 + homepage = "https://rdflib.readthedocs.io"; 59 + license = licenses.bsd3; 60 + maintainers = with maintainers; [ ]; 35 61 }; 36 62 }