Files
2026-05-04 08:32:33 +02:00

42 lines
787 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchPypi,
flask,
pytestCheckHook,
requests,
setuptools-scm,
}:
buildPythonPackage (finalAttrs: {
pname = "certipy";
version = "0.2.3";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-TocB5qLygeehVMLzaM/07fN0AJCE0peIy+jDg4iXeE8=";
};
build-system = [ setuptools-scm ];
dependencies = [ cryptography ];
nativeCheckInputs = [
flask
pytestCheckHook
requests
];
pythonImportsCheck = [ "certipy" ];
meta = {
description = "Utility to create and sign CAs and certificates";
homepage = "https://github.com/LLNL/certipy";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ isgy ];
mainProgram = "certipy";
};
})