python3Packages.py-moneyed: init at 3.0 (#500647)

This commit is contained in:
dotlambda
2026-03-18 15:44:43 +00:00
committed by GitHub
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,47 @@
{
babel,
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage (finalAttrs: {
pname = "py-moneyed";
version = "3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "py-moneyed";
repo = "py-moneyed";
tag = "v${finalAttrs.version}";
hash = "sha256-k0ZbLwog6TYxKDLZV7eH1Br8buMPfpOkgp+pMN/qdB8=";
};
build-system = [ setuptools ];
dependencies = [
babel
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# babel has more currencies than defined in the package
"test_all_babel_currencies"
];
pythonImportsCheck = [ "moneyed" ];
meta = {
description = "Provides Currency and Money classes for use in your Python code";
homepage = "https://github.com/py-moneyed/py-moneyed";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ kurogeek ];
changelog = "https://github.com/py-moneyed/py-moneyed/blob/${finalAttrs.src.tag}/CHANGES.rst";
};
})
+2
View File
@@ -13098,6 +13098,8 @@ self: super: with self; {
py-melissa-climate = callPackage ../development/python-modules/py-melissa-climate { };
py-moneyed = callPackage ../development/python-modules/py-moneyed { };
py-multiaddr = callPackage ../development/python-modules/py-multiaddr { };
py-multibase = callPackage ../development/python-modules/py-multibase { };