mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #315369 from lucc/ssh-audit
This commit is contained in:
commit
d9493dcdc9
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, nixosTests
|
||||
, python3Packages
|
||||
}:
|
||||
@ -8,6 +9,7 @@ python3Packages.buildPythonApplication rec {
|
||||
pname = "ssh-audit";
|
||||
version = "3.2.0";
|
||||
format = "setuptools";
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jtesta";
|
||||
@ -16,6 +18,11 @@ python3Packages.buildPythonApplication rec {
|
||||
sha256 = "sha256-g5h0A1BJqzOZaSVUxyi7IsCcrbto4+7+HpiVjFZy50Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
postInstall = ''
|
||||
installManPage $src/ssh-audit.1
|
||||
'';
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user