blob: 8f477931a3490324d863c884687b41eab3418c38 (
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,
cryptography,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "josepy";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "certbot";
repo = "josepy";
tag = "v${version}";
hash = "sha256-3YzcXdzwf5elkEJeCn4wBb987HTrYM5tT2XfOQIpZ9Q=";
};
build-system = [ poetry-core ];
dependencies = [
cryptography
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "josepy" ];
meta = {
changelog = "https://github.com/certbot/josepy/blob/${src.tag}/CHANGELOG.rst";
description = "JOSE protocol implementation in Python";
mainProgram = "jws";
homepage = "https://github.com/certbot/josepy";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|