tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pylode: relax rdflib constraint
Fabian Affolter
4 years ago
b228c241
b7fceb1f
+23
-10
1 changed file
expand all
collapse all
unified
split
pkgs
misc
pylode
default.nix
+23
-10
pkgs/misc/pylode/default.nix
···
1
{ lib
2
-
, python3Packages
3
, fetchFromGitHub
4
}:
5
6
-
python3Packages.buildPythonApplication rec {
7
-
pname = "pyLODE";
8
version = "2.12.0";
0
0
0
9
10
src = fetchFromGitHub {
11
owner = "RDFLib";
···
14
sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8=";
15
};
16
17
-
propagatedBuildInputs = with python3Packages; [
18
-
python-dateutil
19
falcon
20
-
gunicorn
21
-
isodate
22
jinja2
23
markdown
0
24
rdflib
25
requests
26
-
six
27
-
beautifulsoup4
0
0
0
0
0
0
0
0
0
0
28
];
29
30
meta = with lib; {
31
-
description = "An OWL ontology documentation tool using Python and templating, based on LODE";
32
homepage = "https://github.com/RDFLib/pyLODE";
0
33
license = licenses.gpl3Only;
34
maintainers = with maintainers; [ koslambrou ];
35
};
···
1
{ lib
2
+
, python3
3
, fetchFromGitHub
4
}:
5
6
+
python3.pkgs.buildPythonApplication rec {
7
+
pname = "pylode";
8
version = "2.12.0";
9
+
format = "setuptools";
10
+
11
+
disabled = python3.pythonOlder "3.6";
12
13
src = fetchFromGitHub {
14
owner = "RDFLib";
···
17
sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8=";
18
};
19
20
+
propagatedBuildInputs = with python3.pkgs; [
21
+
beautifulsoup4
22
falcon
0
0
23
jinja2
24
markdown
25
+
python-dateutil
26
rdflib
27
requests
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"
40
];
41
42
meta = with lib; {
43
+
description = "OWL ontology documentation tool using Python and templating, based on LODE";
44
homepage = "https://github.com/RDFLib/pyLODE";
45
+
# Next release will move to BSD3
46
license = licenses.gpl3Only;
47
maintainers = with maintainers; [ koslambrou ];
48
};