fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
36 lines
796 B
Nix
36 lines
796 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)";
|
|
mainProgram = "edsig";
|
|
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
|
|
];
|
|
};
|
|
}
|