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