tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.nbformat: move expression
Frederik Rietdijk
8 years ago
779767e6
49bc0168
+37
-22
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
nbformat
default.nix
top-level
python-packages.nix
+36
pkgs/development/python-modules/nbformat/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, pytest
5
5
+
, glibcLocales
6
6
+
, ipython_genutils
7
7
+
, traitlets
8
8
+
, testpath
9
9
+
, jsonschema
10
10
+
, jupyter_core
11
11
+
}:
12
12
+
13
13
+
buildPythonPackage rec {
14
14
+
pname = "nbformat";
15
15
+
version = "4.3.0";
16
16
+
name = "${pname}-${version}";
17
17
+
18
18
+
src = fetchPypi {
19
19
+
inherit pname version;
20
20
+
sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
21
21
+
};
22
22
+
LC_ALL="en_US.UTF-8";
23
23
+
24
24
+
checkInputs = [ pytest glibcLocales ];
25
25
+
propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
26
26
+
27
27
+
# Failing tests and permission issues
28
28
+
doCheck = false;
29
29
+
30
30
+
meta = {
31
31
+
description = "The Jupyter Notebook format";
32
32
+
homepage = "http://jupyter.org/";
33
33
+
license = lib.licenses.bsd3;
34
34
+
maintainers = with lib.maintainers; [ fridh ];
35
35
+
};
36
36
+
}
+1
-22
pkgs/top-level/python-packages.nix
···
14834
14834
};
14835
14835
};
14836
14836
14837
14837
-
nbformat = buildPythonPackage rec {
14838
14838
-
version = "4.3.0";
14839
14839
-
name = "nbformat-${version}";
14840
14840
-
14841
14841
-
src = pkgs.fetchurl {
14842
14842
-
url = "mirror://pypi/n/nbformat/${name}.tar.gz";
14843
14843
-
sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
14844
14844
-
};
14845
14845
-
LC_ALL="en_US.UTF-8";
14846
14846
-
buildInputs = with self; [ pytest pkgs.glibcLocales ];
14847
14847
-
propagatedBuildInputs = with self; [ipython_genutils traitlets testpath jsonschema jupyter_core];
14848
14848
-
14849
14849
-
# Failing tests and permission issues
14850
14850
-
doCheck = false;
14851
14851
-
14852
14852
-
meta = {
14853
14853
-
description = "The Jupyter Notebook format";
14854
14854
-
homepage = "http://jupyter.org/";
14855
14855
-
license = licenses.bsd3;
14856
14856
-
maintainers = with maintainers; [ fridh ];
14857
14857
-
};
14858
14858
-
};
14837
14837
+
nbformat = callPackage ../development/python-modules/nbformat { };
14859
14838
14860
14839
nbxmpp = buildPythonPackage rec {
14861
14840
name = "nbxmpp-${version}";