2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2024-02-07 01:22:34 +00:00
|
|
|
}:
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ed25519-blake2b";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "1.4.1";
|
|
|
|
pyproject = true;
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-cx6fk80awaZGSVdfNRmpn/4LseTPe/X18L5ROjnfc2M=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-02-07 01:22:34 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "ed25519_blake2b" ];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Ed25519 public-key signatures (BLAKE2b fork)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "edsig";
|
2022-10-21 18:38:19 +00:00
|
|
|
homepage = "https://github.com/Matoking/python-ed25519-blake2b";
|
2024-02-07 01:22:34 +00:00
|
|
|
changelog = "https://github.com/Matoking/python-ed25519-blake2b/releases/tag/${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
onny
|
|
|
|
stargate01
|
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
}
|