depot/third_party/nixpkgs/pkgs/development/python-modules/bech32/default.nix

25 lines
442 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "bech32";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-fW24IUYDvXhx/PpsCCbvaLhbCr2Q+iHChanF4h0r2Jk=";
};
meta = with lib; {
homepage = "https://pypi.org/project/bech32/";
license = with licenses; [ mit ];
};
}