16 # optional-dependencies
23 pyhanko-certvalidator,
30 buildPythonPackage rec {
31 pname = "certomancer";
35 disabled = pythonOlder "3.7";
37 src = fetchFromGitHub {
38 owner = "MatthiasValvekens";
40 rev = "refs/tags/v${version}";
41 hash = "sha256-2BjLoGUWU0RaWVI9JA3s/Hf5aVtmv8hn+fB2jkWdQNY=";
58 optional-dependencies = {
59 requests-mocker = [ requests-mock ];
64 pkcs11 = [ python-pkcs11 ];
74 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
76 pythonImportsCheck = [ "certomancer" ];
79 description = "Quickly construct, mock & deploy PKI test configurations using simple declarative configuration";
80 mainProgram = "certomancer";
81 homepage = "https://github.com/MatthiasValvekens/certomancer";
82 license = lib.licenses.mit;