depot/third_party/nixpkgs/pkgs/development/python-modules/ipynbname/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
697 B
Nix

{
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 ];
};
}