depot/third_party/nixpkgs/pkgs/development/python-modules/ed25519-blake2b/default.nix

37 lines
796 B
Nix
Raw Normal View History

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