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