tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.nbformat: 5.5.0 -> 5.7.0
Robert Schütz
3 years ago
77306d37
45ab6cf9
+18
-20
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
nbformat
default.nix
+18
-20
pkgs/development/python-modules/nbformat/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
+
, pythonOlder
3
4
, fetchPypi
5
5
+
, hatchling
6
6
+
, hatch-nodejs-version
4
7
, fastjsonschema
5
5
-
, flit-core
6
6
-
, pytestCheckHook
7
7
-
, glibcLocales
8
8
-
, ipython_genutils
9
9
-
, traitlets
10
10
-
, testpath
11
8
, jsonschema
12
9
, jupyter_core
10
10
+
, traitlets
13
11
, pep440
12
12
+
, pytestCheckHook
13
13
+
, testpath
14
14
}:
15
15
16
16
buildPythonPackage rec {
17
17
pname = "nbformat";
18
18
-
version = "5.5.0";
18
18
+
version = "5.7.0";
19
19
+
20
20
+
disabled = pythonOlder "3.7";
21
21
+
19
22
format = "pyproject";
20
23
21
24
src = fetchPypi {
22
25
inherit pname version;
23
23
-
sha256 = "sha256-nr4w5sOz5bR9Of8KOJehrPUj0r+vy04tBM23D4pmxQc=";
26
26
+
sha256 = "1d4760c15c1a04269ef5caf375be8b98dd2f696e5eb9e603ec2bf091f9b0d3f3";
24
27
};
25
28
26
29
nativeBuildInputs = [
27
27
-
flit-core
30
30
+
hatchling
31
31
+
hatch-nodejs-version
28
32
];
29
29
-
30
30
-
LC_ALL="en_US.utf8";
31
33
32
34
propagatedBuildInputs = [
33
35
fastjsonschema
34
34
-
ipython_genutils
35
36
jsonschema
36
37
jupyter_core
38
38
+
traitlets
39
39
+
];
40
40
+
41
41
+
checkInputs = [
37
42
pep440
43
43
+
pytestCheckHook
38
44
testpath
39
39
-
traitlets
40
45
];
41
41
-
42
42
-
checkInputs = [ pytestCheckHook glibcLocales ];
43
43
-
44
44
-
preCheck = ''
45
45
-
mkdir tmp
46
46
-
export HOME=tmp
47
47
-
'';
48
46
49
47
# Some of the tests use localhost networking.
50
48
__darwinAllowLocalNetworking = true;