nixpkgs/pkgs/tools/security/ssh-audit/default.nix
2021-02-24 12:15:36 +01:00

26 lines
616 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "ssh-audit";
version = "2.4.0";
src = fetchFromGitHub {
owner = "jtesta";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Xq1q/i43vZAv8BayVOdKuZ3+mJcQQ0x4Kc3WlASE6m8=";
};
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 ];
};
}