mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-07 22:03:37 +00:00
42 lines
787 B
Nix
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";
|
|
};
|
|
})
|