2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, attrs
|
|
|
|
, click
|
2023-04-29 16:46:19 +00:00
|
|
|
, flit-core
|
2022-07-14 12:49:19 +00:00
|
|
|
, importlib-metadata
|
|
|
|
, nbclient
|
|
|
|
, nbformat
|
|
|
|
, pyyaml
|
|
|
|
, sqlalchemy
|
|
|
|
, tabulate
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-cache";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.6.1";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "pyproject";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-Jvg5ARQ+30ry8/9akeLSrSmORuLO4DyAcdN6I6Y8y/w=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
nativeBuildInputs = [
|
2023-04-29 16:46:19 +00:00
|
|
|
flit-core
|
2023-03-27 19:17:25 +00:00
|
|
|
];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
attrs
|
|
|
|
click
|
|
|
|
importlib-metadata
|
|
|
|
nbclient
|
|
|
|
nbformat
|
|
|
|
pyyaml
|
|
|
|
sqlalchemy
|
|
|
|
tabulate
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jupyter_cache" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A defined interface for working with a cache of jupyter notebooks";
|
|
|
|
homepage = "https://github.com/executablebooks/jupyter-cache";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|