depot/third_party/nixpkgs/pkgs/development/python-modules/ed25519-blake2b/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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
];
};
}