1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchPypi,
6 flask,
7 pytestCheckHook,
8 pythonOlder,
9 requests,
10 setuptools-scm,
11}:
12
13buildPythonPackage rec {
14 pname = "certipy";
15 version = "0.2.2";
16 pyproject = true;
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-/vHz2IGe4pxMZ3GRccmIMCgj3+C2z7tH0knzdICboF4=";
23 };
24
25 build-system = [ setuptools-scm ];
26
27 dependencies = [ cryptography ];
28
29 nativeCheckInputs = [
30 flask
31 pytestCheckHook
32 requests
33 ];
34
35 pythonImportsCheck = [ "certipy" ];
36
37 meta = with lib; {
38 description = "Utility to create and sign CAs and certificates";
39 homepage = "https://github.com/LLNL/certipy";
40 license = licenses.bsd3;
41 maintainers = with maintainers; [ isgy ];
42 mainProgram = "certipy";
43 };
44}