nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, cloudpickle, ipykernel, wurlitzer,
2 jupyter-client, pyzmq }:
3
4buildPythonPackage rec {
5 pname = "spyder-kernels";
6 version = "2.3.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "sha256-pdU20Oil53TX1hbBAqj6LWqkX9MwoLeZuY7vFYNW02w=";
11 };
12
13 propagatedBuildInputs = [
14 cloudpickle
15 ipykernel
16 wurlitzer
17 jupyter-client
18 pyzmq
19 ];
20
21 postPatch = ''
22 substituteInPlace setup.py --replace "ipython>=7.31.1,<8" "ipython"
23 '';
24
25 # No tests
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Jupyter kernels for Spyder's console";
30 homepage = "https://docs.spyder-ide.org/current/ipythonconsole.html";
31 downloadPage = "https://github.com/spyder-ide/spyder-kernels/releases";
32 changelog = "https://github.com/spyder-ide/spyder-kernels/blob/master/CHANGELOG.md";
33 license = licenses.mit;
34 maintainers = with maintainers; [ gebner ];
35 };
36}