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

23 lines
423 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
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 ];
};
}