Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / metakernel / default.nix
blob3c8396bef79764fb3e9b184b26de0816c7f799b6
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatchling
5 , ipykernel
6 , jedi
7 , jupyter-core
8 , pexpect
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "metakernel";
14   version = "0.30.1";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-TKBvuGh8DnPDLaOpwOvLZHdj1kBOTE/JLda1nQ6J//U=";
22   };
24   nativeBuildInputs = [
25     hatchling
26   ];
28   propagatedBuildInputs = [
29     ipykernel
30     jedi
31     jupyter-core
32     pexpect
33   ];
35   # Tests hang, so disable
36   doCheck = false;
38   pythonImportsCheck = [
39     "metakernel"
40   ];
42   meta = with lib; {
43     description = "Jupyter/IPython Kernel Tools";
44     homepage = "https://github.com/Calysto/metakernel";
45     changelog = "https://github.com/Calysto/metakernel/blob/v${version}/CHANGELOG.md";
46     license = licenses.bsd3;
47     maintainers = with maintainers; [ thomasjm ];
48   };