python3Packages.bech32: modernize

This commit is contained in:
Harinn
2026-06-06 02:25:00 +07:00
parent f2bc7d7124
commit 32d41f5d63
@@ -4,20 +4,24 @@
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "bech32";
version = "1.2.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-fW24IUYDvXhx/PpsCCbvaLhbCr2Q+iHChanF4h0r2Jk=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "bech32" ];
meta = {
homepage = "https://pypi.org/project/bech32/";
license = with lib.licenses; [ mit ];
};
}
})