1{ lib 2, buildPythonPackage 3, fetchPypi 4, ipykernel 5}: 6 7buildPythonPackage rec { 8 pname = "ipynbname"; 9 version = "2023.2.0.0"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-Riu915VmJIdtxOqB+nkoRas4cOREyh9res2uo32Mnr8="; 15 }; 16 17 propagatedBuildInputs = [ 18 ipykernel 19 ]; 20 21 pythonImportsCheck = [ "ipynbname" ]; 22 23 # upstream has no tests 24 doCheck = false; 25 26 meta = { 27 description = "Simply returns either notebook filename or the full path to the notebook"; 28 homepage = "https://github.com/msm1089/ipynbname"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ dotlambda ]; 31 }; 32}