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