Merge pull request #171237 from viraptor/ssh-import-id-man

ssh-import-id: add man page
This commit is contained in:
Sandro 2022-05-02 14:46:50 +02:00 committed by GitHub
commit 6e59db3699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
, requests
, distro
, makeWrapper
, installShellFiles
, extraHandlers ? []
}:
@ -24,15 +25,20 @@ buildPythonPackage rec {
nativeBuildInputs = [
makeWrapper
installShellFiles
];
postInstall = ''
installManPage $src/usr/share/man/man1/ssh-import-id.1
'';
# handlers require main bin, main bin requires handlers
makeWrapperArgs = [ "--prefix" ":" "$out/bin" ];
meta = with lib; {
description = "Retrieves an SSH public key and installs it locally";
license = licenses.gpl3;
maintainers = with maintainers; [ mkg20001 ];
maintainers = with maintainers; [ mkg20001 viraptor ];
platforms = platforms.unix;
};
}