depot/third_party/nixpkgs/pkgs/development/python-modules/ipynbname/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

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