2023-09-08 10:46:01 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3Packages
|
|
|
|
}:
|
2019-04-30 18:14:17 +00:00
|
|
|
|
2020-08-05 01:12:55 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2019-04-30 18:14:17 +00:00
|
|
|
pname = "ssh-audit";
|
2023-09-08 10:42:22 +00:00
|
|
|
version = "3.0.0";
|
2023-09-08 10:46:01 +00:00
|
|
|
format = "setuptools";
|
2019-04-30 18:14:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-05 01:12:55 +00:00
|
|
|
owner = "jtesta";
|
2019-04-30 18:14:17 +00:00
|
|
|
repo = pname;
|
2023-09-08 10:44:47 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-09-08 10:42:22 +00:00
|
|
|
sha256 = "sha256-+v+DLZPDC5uffTIJPzMvY/nLoy7BGiAsTddjNZZhTpo=";
|
2019-04-30 18:14:17 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2020-08-05 01:12:55 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-04-30 18:14:17 +00:00
|
|
|
description = "Tool for ssh server auditing";
|
2020-08-05 01:12:55 +00:00
|
|
|
homepage = "https://github.com/jtesta/ssh-audit";
|
2023-09-08 10:44:47 +00:00
|
|
|
changelog = "https://github.com/jtesta/ssh-audit/releases/tag/v${version}";
|
2020-08-05 01:12:55 +00:00
|
|
|
license = licenses.mit;
|
2020-10-26 08:04:52 +00:00
|
|
|
platforms = platforms.all;
|
2020-09-29 10:52:19 +00:00
|
|
|
maintainers = with maintainers; [ tv SuperSandro2000 ];
|
2019-04-30 18:14:17 +00:00
|
|
|
};
|
|
|
|
}
|