Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / jupyter-cache / default.nix
blobe2e597dd4a85f3c439e238c63c17b437c7e39137
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , attrs
5 , click
6 , flit-core
7 , importlib-metadata
8 , nbclient
9 , nbformat
10 , pyyaml
11 , sqlalchemy
12 , tabulate
13 , pythonOlder
16 buildPythonPackage rec {
17   pname = "jupyter-cache";
18   version = "1.0.0";
19   pyproject = true;
21   disabled = pythonOlder "3.9";
23   src = fetchPypi {
24     inherit version;
25     pname = "jupyter_cache";
26     hash = "sha256-0Pp9dTPNV5gZjYiJMYJpqME4LtOyL2IsCak1ZSH0hoc=";
27   };
29   nativeBuildInputs = [
30     flit-core
31   ];
33   propagatedBuildInputs = [
34     attrs
35     click
36     importlib-metadata
37     nbclient
38     nbformat
39     pyyaml
40     sqlalchemy
41     tabulate
42   ];
44   pythonImportsCheck = [ "jupyter_cache" ];
46   meta = with lib; {
47     description = "A defined interface for working with a cache of jupyter notebooks";
48     mainProgram = "jcache";
49     homepage = "https://github.com/executablebooks/jupyter-cache";
50     changelog = "https://github.com/executablebooks/jupyter-cache/blob/v${version}/CHANGELOG.md";
51     license = licenses.mit;
52     maintainers = with maintainers; [ ];
53   };