1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 ipykernel, 7 jedi, 8 jupyter-core, 9 pexpect, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "metakernel"; 15 version = "0.30.3"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-nryNTYciAq16xkpW4HIm2NPFzkW1tCDQQB9UfHUKR10="; 23 }; 24 25 build-system = [ hatchling ]; 26 27 dependencies = [ 28 ipykernel 29 jedi 30 jupyter-core 31 pexpect 32 ]; 33 34 # Tests hang, so disable 35 doCheck = false; 36 37 pythonImportsCheck = [ "metakernel" ]; 38 39 meta = with lib; { 40 description = "Jupyter/IPython Kernel Tools"; 41 homepage = "https://github.com/Calysto/metakernel"; 42 changelog = "https://github.com/Calysto/metakernel/blob/v${version}/CHANGELOG.md"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ thomasjm ]; 45 }; 46}