tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.nbconvert: 5.1.1 -> 5.2.1
Frederik Rietdijk
8 years ago
29577863
779767e6
+53
-27
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
nbconvert
default.nix
top-level
python-packages.nix
+52
pkgs/development/python-modules/nbconvert/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, fetchPypi
4
+
, pytest
5
+
, nose
6
+
, entrypoints
7
+
, bleach
8
+
, mistune
9
+
, jinja2
10
+
, pygments
11
+
, traitlets
12
+
, testpath
13
+
, jupyter_core
14
+
, nbformat
15
+
, nbconvert
16
+
, ipykernel
17
+
, pandocfilters
18
+
, tornado
19
+
, jupyter_client
20
+
}:
21
+
22
+
buildPythonPackage rec {
23
+
pname = "nbconvert";
24
+
version = "5.2.1";
25
+
name = "${pname}-${version}";
26
+
27
+
src = fetchPypi {
28
+
inherit pname version;
29
+
sha256 = "9ed68ec7fe90a8672b43795b29ea91cc75ea355c83debc83ebd12171521ec274";
30
+
};
31
+
32
+
checkInputs = [ nose pytest ];
33
+
34
+
propagatedBuildInputs = [
35
+
entrypoints bleach mistune jinja2 pygments traitlets testpath
36
+
jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client
37
+
];
38
+
39
+
checkPhase = ''
40
+
nosetests -v
41
+
'';
42
+
43
+
# PermissionError. Likely due to being in a chroot
44
+
doCheck = false;
45
+
46
+
meta = {
47
+
description = "Converting Jupyter Notebooks";
48
+
homepage = http://jupyter.org/;
49
+
license = lib.licenses.bsd3;
50
+
maintainers = with lib.maintainers; [ fridh ];
51
+
};
52
+
}
+1
-27
pkgs/top-level/python-packages.nix
···
14806
};
14807
};
14808
14809
-
nbconvert = buildPythonPackage rec {
14810
-
version = "5.1.1";
14811
-
name = "nbconvert-${version}";
14812
-
14813
-
src = pkgs.fetchurl {
14814
-
url = "mirror://pypi/n/nbconvert/${name}.tar.gz";
14815
-
sha256 = "847731bc39829d0eb1e15a450ac98c71730e3598e53683d4d76a3f3b3fc5017d";
14816
-
};
14817
-
14818
-
buildInputs = with self; [nose ipykernel ];
14819
-
14820
-
propagatedBuildInputs = with self; [ entrypoints bleach mistune jinja2 pygments traitlets testpath jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client];
14821
-
14822
-
checkPhase = ''
14823
-
nosetests -v
14824
-
'';
14825
-
14826
-
# PermissionError. Likely due to being in a chroot
14827
-
doCheck = false;
14828
-
14829
-
meta = {
14830
-
description = "Converting Jupyter Notebooks";
14831
-
homepage = http://jupyter.org/;
14832
-
license = licenses.bsd3;
14833
-
maintainers = with maintainers; [ fridh ];
14834
-
};
14835
-
};
14836
14837
nbformat = callPackage ../development/python-modules/nbformat { };
14838
···
14806
};
14807
};
14808
14809
+
nbconvert = callPackage ../development/python-modules/nbconvert { };
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
14810
14811
nbformat = callPackage ../development/python-modules/nbformat { };
14812