nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

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"; ··· 17 14 sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8="; 18 15 }; 19 16 20 - propagatedBuildInputs = with python3Packages; [ 21 - python-dateutil 17 + propagatedBuildInputs = with python3.pkgs; [ 18 + beautifulsoup4 22 19 falcon 23 - gunicorn 24 - isodate 25 20 jinja2 26 21 markdown 22 + python-dateutil 27 23 rdflib 28 24 requests 29 - six 30 - beautifulsoup4 25 + ]; 26 + 27 + postPatch = '' 28 + substituteInPlace requirements.txt \ 29 + --replace "rdflib==6.0.0" "rdflib" 30 + ''; 31 + 32 + # Path issues with the tests 33 + doCheck = false; 34 + 35 + pythonImportsCheck = [ 36 + "pylode" 31 37 ]; 32 38 33 39 meta = with lib; { 34 - description = "An OWL ontology documentation tool using Python and templating, based on LODE"; 40 + description = "OWL ontology documentation tool using Python and templating, based on LODE"; 35 41 homepage = "https://github.com/RDFLib/pyLODE"; 42 + # Next release will move to BSD3 36 43 license = licenses.gpl3Only; 37 44 maintainers = with maintainers; [ koslambrou ]; 38 45 };