python3Packages.ploomber-extension: init at 0.1.1

This commit is contained in:
euxane
2024-07-08 12:25:29 +02:00
parent 64b68ff76f
commit 8e0ac09306
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
hatchling,
hatch-jupyter-builder,
hatch-nodejs-version,
jupyterlab,
ploomber-core,
pytestCheckHook,
pytest-jupyter,
}:
buildPythonPackage rec {
pname = "ploomber-extension";
version = "0.1.1";
pyproject = true;
disabled = pythonOlder "3.6";
# using pypi archive which includes pre-built assets
src = fetchPypi {
pname = "ploomber_extension";
inherit version;
hash = "sha256-wsldqLhJfOESH9aMMzz1Y/FXofHyfgrl81O95NePXSA=";
};
build-system = [
hatchling
hatch-jupyter-builder
hatch-nodejs-version
jupyterlab
];
dependencies = [ ploomber-core ];
nativeCheckInputs = [
pytestCheckHook
pytest-jupyter
];
pythonImportsCheck = [ "ploomber_extension" ];
meta = with lib; {
description = "Ploomber extension";
homepage = "https://pypi.org/project/ploomber-extension";
license = licenses.bsd3;
maintainers = with maintainers; [ pacien ];
};
}
+2
View File
@@ -10354,6 +10354,8 @@ self: super: with self; {
ploomber-core = callPackage ../development/python-modules/ploomber-core { };
ploomber-extension = callPackage ../development/python-modules/ploomber-extension { };
plotext = callPackage ../development/python-modules/plotext { };
plotly = callPackage ../development/python-modules/plotly { };