lol

pylode: relax rdflib constraint

+23 -10
+23 -10
pkgs/misc/pylode/default.nix
··· 1 1 { lib 2 - , python3Packages 2 + , python3 3 3 , fetchFromGitHub 4 4 }: 5 5 6 - python3Packages.buildPythonApplication rec { 7 - pname = "pyLODE"; 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "pylode"; 8 8 version = "2.12.0"; 9 + format = "setuptools"; 10 + 11 + disabled = python3.pythonOlder "3.6"; 9 12 10 13 src = fetchFromGitHub { 11 14 owner = "RDFLib"; ··· 14 17 sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8="; 15 18 }; 16 19 17 - propagatedBuildInputs = with python3Packages; [ 18 - python-dateutil 20 + propagatedBuildInputs = with python3.pkgs; [ 21 + beautifulsoup4 19 22 falcon 20 - gunicorn 21 - isodate 22 23 jinja2 23 24 markdown 25 + python-dateutil 24 26 rdflib 25 27 requests 26 - six 27 - beautifulsoup4 28 + ]; 29 + 30 + postPatch = '' 31 + substituteInPlace requirements.txt \ 32 + --replace "rdflib==6.0.0" "rdflib" 33 + ''; 34 + 35 + # Path issues with the tests 36 + doCheck = false; 37 + 38 + pythonImportsCheck = [ 39 + "pylode" 28 40 ]; 29 41 30 42 meta = with lib; { 31 - description = "An OWL ontology documentation tool using Python and templating, based on LODE"; 43 + description = "OWL ontology documentation tool using Python and templating, based on LODE"; 32 44 homepage = "https://github.com/RDFLib/pyLODE"; 45 + # Next release will move to BSD3 33 46 license = licenses.gpl3Only; 34 47 maintainers = with maintainers; [ koslambrou ]; 35 48 };