python3Packages.plum-dispatch: init at 2.9.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user