python3Packages.plum-dispatch: init at 2.9.0

This commit is contained in:
Gaetan Lepage
2026-07-16 21:50:42 +00:00
parent 6c47bd4d28
commit 5612eefc08
2 changed files with 64 additions and 0 deletions
@@ -0,0 +1,62 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
beartype,
rich,
typing-extensions,
# tests
ipython,
numpy,
pytestCheckHook,
sybil,
}:
buildPythonPackage (finalAttrs: {
pname = "plum-dispatch";
version = "2.9.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "beartype";
repo = "plum";
tag = "v${finalAttrs.version}";
hash = "sha256-oQTM2Op/ymNYu0yCOADI9Is2RutwF+AYmhMLAkMe87s=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
beartype
rich
typing-extensions
];
pythonImportsCheck = [ "plum" ];
nativeCheckInputs = [
ipython
numpy
pytestCheckHook
sybil
];
meta = {
description = "Multiple dispatch in Python";
homepage = "https://github.com/beartype/plum";
changelog = "https://github.com/beartype/plum/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -13403,6 +13403,8 @@ self: super: with self; {
plugwise = callPackage ../development/python-modules/plugwise { };
plum-dispatch = callPackage ../development/python-modules/plum-dispatch { };
plum-py = callPackage ../development/python-modules/plum-py { };
plumbum = callPackage ../development/python-modules/plumbum { };