python3Packages.py-moneyed: init at 3.0

Co-authored-by: dotlambda <github@dotlambda.de>
This commit is contained in:
kurogeek
2026-03-18 21:14:09 +07:00
co-authored by dotlambda
parent cda48547b4
commit 1dfc6e226f
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
@@ -13086,6 +13086,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 { };