nixpkgs/pkgs/tools/security/ssh-audit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
739 B
Nix
Raw Normal View History

2023-09-08 10:46:01 +00:00
{ lib
, fetchFromGitHub
, python3Packages
}:
2019-04-30 18:14:17 +00:00
python3Packages.buildPythonApplication rec {
2019-04-30 18:14:17 +00:00
pname = "ssh-audit";
version = "3.0.0";
2023-09-08 10:46:01 +00:00
format = "setuptools";
2019-04-30 18:14:17 +00:00
src = fetchFromGitHub {
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}";
sha256 = "sha256-+v+DLZPDC5uffTIJPzMvY/nLoy7BGiAsTddjNZZhTpo=";
2019-04-30 18:14:17 +00:00
};
nativeCheckInputs = with python3Packages; [
pytestCheckHook
];
meta = with lib; {
2019-04-30 18:14:17 +00:00
description = "Tool for ssh server auditing";
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}";
license = licenses.mit;
2020-10-26 08:04:52 +00:00
platforms = platforms.all;
maintainers = with maintainers; [ tv SuperSandro2000 ];
2019-04-30 18:14:17 +00:00
};
}