Merge pull request #315369 from lucc/ssh-audit

This commit is contained in:
Sandro 2024-05-29 11:45:56 +02:00 committed by GitHub
commit d9493dcdc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, installShellFiles
, nixosTests
, python3Packages
}:
@ -8,6 +9,7 @@ python3Packages.buildPythonApplication rec {
pname = "ssh-audit";
version = "3.2.0";
format = "setuptools";
outputs = [ "out" "man" ];
src = fetchFromGitHub {
owner = "jtesta";
@ -16,6 +18,11 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-g5h0A1BJqzOZaSVUxyi7IsCcrbto4+7+HpiVjFZy50Y=";
};
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage $src/ssh-audit.1
'';
nativeCheckInputs = with python3Packages; [
pytestCheckHook
];