From 19e3c148be8d0a6ccb5d649bf25b335c371d505e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Mon, 2 May 2022 21:01:46 +1000 Subject: [PATCH 1/2] ssh-import-id: add man page --- pkgs/tools/admin/ssh-import-id/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/admin/ssh-import-id/default.nix b/pkgs/tools/admin/ssh-import-id/default.nix index 031bb316ca55..2e457c6df9b3 100644 --- a/pkgs/tools/admin/ssh-import-id/default.nix +++ b/pkgs/tools/admin/ssh-import-id/default.nix @@ -4,6 +4,7 @@ , requests , distro , makeWrapper +, installShellFiles , extraHandlers ? [] }: @@ -24,8 +25,13 @@ 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" ]; From 21bf58c74a7971776b003a837444652bf755128f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Mon, 2 May 2022 21:02:27 +1000 Subject: [PATCH 2/2] ssh-import-id: add self to maintainers --- pkgs/tools/admin/ssh-import-id/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/admin/ssh-import-id/default.nix b/pkgs/tools/admin/ssh-import-id/default.nix index 2e457c6df9b3..e4202033b99c 100644 --- a/pkgs/tools/admin/ssh-import-id/default.nix +++ b/pkgs/tools/admin/ssh-import-id/default.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { 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; }; }