diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/ssh-audit')
-rw-r--r-- | nixpkgs/pkgs/tools/security/ssh-audit/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/ssh-audit/default.nix b/nixpkgs/pkgs/tools/security/ssh-audit/default.nix new file mode 100644 index 000000000000..34d39390b438 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/ssh-audit/default.nix @@ -0,0 +1,25 @@ +{ lib, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "ssh-audit"; + version = "2.5.0"; + + src = fetchFromGitHub { + owner = "jtesta"; + repo = pname; + rev = "v${version}"; + sha256 = "0ks1zr0ksma285sm2dyy0nsbrkpssdk4mdzc3srr4mcyd6v927jd"; + }; + + checkInputs = with python3Packages; [ + pytestCheckHook + ]; + + meta = with lib; { + description = "Tool for ssh server auditing"; + homepage = "https://github.com/jtesta/ssh-audit"; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ tv SuperSandro2000 ]; + }; +} |