@@ -1,72 +0,0 @@
1−{ lib
2−, buildPythonPackage
3−, fetchFromGitHub
4−, cloudpickle
5−, ipykernel
6−, wurlitzer
7−, jupyter_client
8−, pyzmq
9−, numpy
10−, pandas
11−, scipy
12−, matplotlib
13−, xarray
14−, pytestCheckHook
15−, flaky
16−, isPy3k
17−}:
18−
19−buildPythonPackage rec {
20− pname = "spyder-kernels";
21− version = "0.5.2";
22−
23− src = fetchFromGitHub {
24− owner = "spyder-ide";
25− repo = "spyder-kernels";
26− rev = "v${version}";
27− sha256 = "1yan589g0470y61bcyjy3wj13i94ndyffckqdyrg97vw2qhfrisb";
28− };
29−
30− # requirement xarray not available on Py2k
31− disabled = !isPy3k;
32−
33− propagatedBuildInputs = [
34− cloudpickle
35− ipykernel
36− wurlitzer
37− jupyter_client
38− pyzmq
39− ];
40−
41− checkInputs = [
42− numpy
43− pandas
44− scipy
45− matplotlib
46− xarray
47− pytestCheckHook
48− flaky
49− ];
50−
51− preCheck = ''
52− export JUPYTER_RUNTIME_DIR=$(mktemp -d)
53− '';
54−
55− # skipped tests:
56− # turtle requires graphics
57− # cython test fails, I don't think this can ever access cython?
58− # umr pathlist test assumes standard directories, not compatible with nix
59− disabledTests = [
60− "test_turtle_launc"
61− "test_umr_skip_cython"
62− "test_umr_pathlist"
63− "test_user_sitepackages_in_pathlist"
64− ];
65−
66− meta = with lib; {
67− description = "Jupyter kernels for Spyder's console";
68− homepage = "https://github.com/spyder-ide/spyder-kernels";
69− license = licenses.mit;
70− maintainers = with maintainers; [ gebner marcus7070 ];
71− };
72−}