Files
nixpkgs/pkgs/development/python-modules/jupyter-cache/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
1021 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
attrs,
click,
flit-core,
importlib-metadata,
nbclient,
nbformat,
pyyaml,
sqlalchemy,
tabulate,
pythonOlder,
}:
buildPythonPackage rec {
pname = "jupyter-cache";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit version;
pname = "jupyter_cache";
hash = "sha256-FugI6xnj+2eiI9uQbhMepuAfA6on9JpyFM5qX+wYb7k=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
attrs
click
importlib-metadata
nbclient
nbformat
pyyaml
sqlalchemy
tabulate
];
pythonImportsCheck = [ "jupyter_cache" ];
meta = {
description = "Defined interface for working with a cache of jupyter notebooks";
mainProgram = "jcache";
homepage = "https://github.com/executablebooks/jupyter-cache";
changelog = "https://github.com/executablebooks/jupyter-cache/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}