depot/third_party/nixpkgs/pkgs/development/python-modules/ed25519-blake2b/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

36 lines
785 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 ];
};
}