blob: e8eda50d04a0477562abaafaf76c95d185d4296f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
versioneer,
}:
buildPythonPackage rec {
pname = "ed25519";
version = "1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "warner";
repo = "python-ed25519";
tag = version;
hash = "sha256-AwnhB5UGycQliNndbqd0JlI4vKSehCSy0qHv2EiB+jA=";
};
postPatch = ''
rm versioneer.py
'';
build-system = [
setuptools
versioneer
];
pythonImportsCheck = [ "ed25519" ];
meta = {
description = "Ed25519 public-key signatures";
mainProgram = "edsig";
homepage = "https://github.com/warner/python-ed25519";
changelog = "https://github.com/warner/python-ed25519/blob/${version}/NEWS";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ np ];
};
}
|