2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
35 lines
815 B
Nix
35 lines
815 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
, python3Packages
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "ssh-audit";
|
|
version = "3.0.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jtesta";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-+v+DLZPDC5uffTIJPzMvY/nLoy7BGiAsTddjNZZhTpo=";
|
|
};
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) ssh-audit;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Tool for ssh server auditing";
|
|
homepage = "https://github.com/jtesta/ssh-audit";
|
|
changelog = "https://github.com/jtesta/ssh-audit/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ tv SuperSandro2000 ];
|
|
};
|
|
}
|