60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
35 lines
758 B
Nix
35 lines
758 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ed25519-blake2b";
|
|
version = "1.4.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-cx6fk80awaZGSVdfNRmpn/4LseTPe/X18L5ROjnfc2M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"ed25519_blake2b"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Ed25519 public-key signatures (BLAKE2b fork)";
|
|
homepage = "https://github.com/Matoking/python-ed25519-blake2b";
|
|
changelog = "https://github.com/Matoking/python-ed25519-blake2b/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ onny stargate01 ];
|
|
};
|
|
}
|