diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-03-18 22:32:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 22:32:34 +0100 |
commit | 212b26acdfc5cda026e29bed0000fe2755719993 (patch) | |
tree | 3746b4531bada43e4787dc1d1a525c66e0b997ae /pkgs/by-name | |
parent | 5af23690c54a773c07262eaabb20c1044ee66d86 (diff) | |
parent | ee92e0bdf8ed80d21dda45474c88e5c23f24c239 (diff) |
Merge pull request #296873 from fabaff/certi
certi: init at 0.1.0-unstable-2023-01-27
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ce/certi/package.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/by-name/ce/certi/package.nix b/pkgs/by-name/ce/certi/package.nix new file mode 100644 index 0000000000000..90e929114b4d1 --- /dev/null +++ b/pkgs/by-name/ce/certi/package.nix @@ -0,0 +1,39 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "certi"; + version = "0.1.0-unstable-2023-01-27"; + pyproject = true; + + src = fetchFromGitHub { + owner = "zer1t0"; + repo = "certi"; + # https://github.com/zer1t0/certi/issues/6 + rev = "6cfa656c6c0fcbbe9b9bce847b052c881202354e"; + hash = "sha256-6j/Lwq68qyfEAo5MRibgdomrCO4KEd/DlAEwB+Z52Hc="; + }; + + nativeBuildInputs = with python3.pkgs; [ + setuptools + ]; + + propagatedBuildInputs = with python3.pkgs; [ + cryptography + impacket + ]; + + pythonImportsCheck = [ + "certilib" + ]; + + meta = with lib; { + description = "ADCS abuser"; + homepage = "https://github.com/zer1t0/certi"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + mainProgram = "certi"; + }; +} |