tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.rdflib: 6.0.1 -> 6.0.2
Fabian Affolter
4 years ago
b7fceb1f
9d7df9dc
+43
-17
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
rdflib
default.nix
+43
-17
pkgs/development/python-modules/rdflib/default.nix
···
1
1
-
{ buildPythonPackage
1
1
+
{ lib
2
2
+
, buildPythonPackage
2
3
, fetchPypi
3
3
-
, isodate
4
4
, html5lib
5
5
-
, SPARQLWrapper
5
5
+
, isodate
6
6
, networkx
7
7
, nose
8
8
-
, python
8
8
+
, pyparsing
9
9
+
, tabulate
10
10
+
, pandas
11
11
+
, pytestCheckHook
12
12
+
, pythonOlder
13
13
+
, SPARQLWrapper
9
14
}:
10
15
11
16
buildPythonPackage rec {
12
17
pname = "rdflib";
13
13
-
version = "6.0.1";
18
18
+
version = "6.0.2";
19
19
+
format = "setuptools";
20
20
+
21
21
+
disabled = pythonOlder "3.7";
14
22
15
23
src = fetchPypi {
16
24
inherit pname version;
17
17
-
sha256 = "f071caff0b68634e4a7bd1d66ea3416ac98f1cc3b915938147ea899c32608728";
25
25
+
sha256 = "sha256-YTauBWABR07ir/X8W5VuYqEcOpxmuw89nAqqX7tWhU4=";
18
26
};
19
27
20
20
-
propagatedBuildInputs = [isodate html5lib SPARQLWrapper ];
28
28
+
propagatedBuildInputs = [
29
29
+
isodate
30
30
+
html5lib
31
31
+
pyparsing
32
32
+
SPARQLWrapper
33
33
+
];
21
34
22
22
-
checkInputs = [ networkx nose ];
35
35
+
checkInputs = [
36
36
+
networkx
37
37
+
pandas
38
38
+
nose
39
39
+
tabulate
40
40
+
pytestCheckHook
41
41
+
];
23
42
24
24
-
# Python 2 syntax
25
25
-
# Failing doctest
26
26
-
doCheck = false;
43
43
+
disabledTests = [
44
44
+
# Requires network access
45
45
+
"api_key"
46
46
+
"BerkeleyDBTestCase"
47
47
+
"test_bad_password"
48
48
+
"test_service"
49
49
+
"testGuessFormatForParse"
50
50
+
];
27
51
28
28
-
checkPhase = ''
29
29
-
${python.interpreter} run_tests.py
30
30
-
'';
52
52
+
pythonImportsCheck = [
53
53
+
"rdflib"
54
54
+
];
31
55
32
32
-
meta = {
33
33
-
description = "A Python library for working with RDF, a simple yet powerful language for representing information";
34
34
-
homepage = "http://www.rdflib.net/";
56
56
+
meta = with lib; {
57
57
+
description = "Python library for working with RDF";
58
58
+
homepage = "https://rdflib.readthedocs.io";
59
59
+
license = licenses.bsd3;
60
60
+
maintainers = with maintainers; [ ];
35
61
};
36
62
}