d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
32 lines
663 B
Nix
32 lines
663 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, ipykernel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipynbname";
|
|
version = "2023.2.0.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Riu915VmJIdtxOqB+nkoRas4cOREyh9res2uo32Mnr8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|