anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / jupyter-cache / default.nix
blobf996f3a593a5aea9f068981c1deb1beadca703b8
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   attrs,
6   click,
7   flit-core,
8   importlib-metadata,
9   nbclient,
10   nbformat,
11   pyyaml,
12   sqlalchemy,
13   tabulate,
14   pythonOlder,
17 buildPythonPackage rec {
18   pname = "jupyter-cache";
19   version = "1.0.1";
20   pyproject = true;
22   disabled = pythonOlder "3.9";
24   src = fetchPypi {
25     inherit version;
26     pname = "jupyter_cache";
27     hash = "sha256-FugI6xnj+2eiI9uQbhMepuAfA6on9JpyFM5qX+wYb7k=";
28   };
30   nativeBuildInputs = [ flit-core ];
32   propagatedBuildInputs = [
33     attrs
34     click
35     importlib-metadata
36     nbclient
37     nbformat
38     pyyaml
39     sqlalchemy
40     tabulate
41   ];
43   pythonImportsCheck = [ "jupyter_cache" ];
45   meta = with lib; {
46     description = "Defined interface for working with a cache of jupyter notebooks";
47     mainProgram = "jcache";
48     homepage = "https://github.com/executablebooks/jupyter-cache";
49     changelog = "https://github.com/executablebooks/jupyter-cache/blob/v${version}/CHANGELOG.md";
50     license = licenses.mit;
51     maintainers = [ ];
52   };