94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
30 lines
641 B
Nix
30 lines
641 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "safe-pysha3";
|
|
version = "1.0.4";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-5CkUax7dGYssqTSiBGplZWxdMbDsiUu9YFUSf03q/xc=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"sha3"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/5afe/pysha3/releases/tag/v${version}";
|
|
description = "SHA-3 (Keccak) for Python 3.9 - 3.11";
|
|
homepage = "https://github.com/5afe/pysha3";
|
|
license = lib.licenses.psfl;
|
|
maintainers = with lib.maintainers; [ wegank ];
|
|
};
|
|
}
|