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