python3Packages.ploomber-core: init at 0.2.25
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
pyyaml,
|
||||
posthog,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ploomber-core";
|
||||
version = "0.2.25";
|
||||
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ploomber";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-QUEnWFhf42ppoXoz3H/2SHtoPZOi6lbopsrbmEAk+1U=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pyyaml
|
||||
posthog
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
"telemetry" # requires network
|
||||
"exceptions" # requires stderr capture
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ploomber_core" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core module shared across Ploomber projects";
|
||||
homepage = "https://github.com/ploomber/core";
|
||||
changelog = "https://github.com/ploomber/core/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pacien ];
|
||||
};
|
||||
}
|
||||
@@ -10352,6 +10352,8 @@ self: super: with self; {
|
||||
|
||||
plone-testing = callPackage ../development/python-modules/plone-testing { };
|
||||
|
||||
ploomber-core = callPackage ../development/python-modules/ploomber-core { };
|
||||
|
||||
plotext = callPackage ../development/python-modules/plotext { };
|
||||
|
||||
plotly = callPackage ../development/python-modules/plotly { };
|
||||
|
||||
Reference in New Issue
Block a user