2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
attrs,
|
|
|
|
click,
|
|
|
|
flit-core,
|
|
|
|
importlib-metadata,
|
|
|
|
nbclient,
|
|
|
|
nbformat,
|
|
|
|
pyyaml,
|
|
|
|
sqlalchemy,
|
|
|
|
tabulate,
|
|
|
|
pythonOlder,
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-cache";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.0.0";
|
|
|
|
pyproject = true;
|
2022-07-14 12:49:19 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-11-16 04:20:00 +00:00
|
|
|
inherit version;
|
|
|
|
pname = "jupyter_cache";
|
|
|
|
hash = "sha256-0Pp9dTPNV5gZjYiJMYJpqME4LtOyL2IsCak1ZSH0hoc=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "jcache";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "https://github.com/executablebooks/jupyter-cache";
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/executablebooks/jupyter-cache/blob/v${version}/CHANGELOG.md";
|
2022-07-14 12:49:19 +00:00
|
|
|
license = licenses.mit;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
}
|