nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "ed25519-blake2b";
10 version = "1.4.1";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-cx6fk80awaZGSVdfNRmpn/4LseTPe/X18L5ROjnfc2M=";
16 };
17
18 nativeBuildInputs = [ setuptools ];
19
20 pythonImportsCheck = [ "ed25519_blake2b" ];
21
22 meta = {
23 description = "Ed25519 public-key signatures (BLAKE2b fork)";
24 mainProgram = "edsig";
25 homepage = "https://github.com/Matoking/python-ed25519-blake2b";
26 changelog = "https://github.com/Matoking/python-ed25519-blake2b/releases/tag/${version}";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [
29 onny
30 stargate01
31 ];
32 };
33}