python310Packages.jupyter-cache: init at 0.5.0
This commit is contained in:
parent
9d144953c4
commit
dbdee6040e
50
pkgs/development/python-modules/jupyter-cache/default.nix
Normal file
50
pkgs/development/python-modules/jupyter-cache/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, attrs
|
||||||
|
, click
|
||||||
|
, importlib-metadata
|
||||||
|
, nbclient
|
||||||
|
, nbformat
|
||||||
|
, pyyaml
|
||||||
|
, sqlalchemy
|
||||||
|
, tabulate
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jupyter-cache";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "87408030a4c8c14fe3f8fe62e6ceeb24c84e544c7ced20bfee45968053d07801";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "nbclient>=0.2,<0.6" "nbclient"
|
||||||
|
'';
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4611,6 +4611,8 @@ in {
|
||||||
|
|
||||||
jupyter-c-kernel = callPackage ../development/python-modules/jupyter-c-kernel { };
|
jupyter-c-kernel = callPackage ../development/python-modules/jupyter-c-kernel { };
|
||||||
|
|
||||||
|
jupyter-cache = callPackage ../development/python-modules/jupyter-cache { };
|
||||||
|
|
||||||
jupyter-client = callPackage ../development/python-modules/jupyter-client { };
|
jupyter-client = callPackage ../development/python-modules/jupyter-client { };
|
||||||
|
|
||||||
jupyter_console = callPackage ../development/python-modules/jupyter_console { };
|
jupyter_console = callPackage ../development/python-modules/jupyter_console { };
|
||||||
|
|
Loading…
Reference in a new issue