pylode: relax rdflib constraint
This commit is contained in:
parent
b7fceb1fd9
commit
b228c241fb
@ -1,11 +1,14 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, python3Packages
|
, python3
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "pyLODE";
|
pname = "pylode";
|
||||||
version = "2.12.0";
|
version = "2.12.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = python3.pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RDFLib";
|
owner = "RDFLib";
|
||||||
@ -14,22 +17,32 @@ python3Packages.buildPythonApplication rec {
|
|||||||
sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8=";
|
sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
python-dateutil
|
beautifulsoup4
|
||||||
falcon
|
falcon
|
||||||
gunicorn
|
|
||||||
isodate
|
|
||||||
jinja2
|
jinja2
|
||||||
markdown
|
markdown
|
||||||
|
python-dateutil
|
||||||
rdflib
|
rdflib
|
||||||
requests
|
requests
|
||||||
six
|
];
|
||||||
beautifulsoup4
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "rdflib==6.0.0" "rdflib"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Path issues with the tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pylode"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An OWL ontology documentation tool using Python and templating, based on LODE";
|
description = "OWL ontology documentation tool using Python and templating, based on LODE";
|
||||||
homepage = "https://github.com/RDFLib/pyLODE";
|
homepage = "https://github.com/RDFLib/pyLODE";
|
||||||
|
# Next release will move to BSD3
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ koslambrou ];
|
maintainers = with maintainers; [ koslambrou ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user