Merge pull request #81028 from mkg20001/ssh-import-id
ssh-import-id: init at 5.8
This commit is contained in:
commit
37c62efad5
2 changed files with 38 additions and 0 deletions
36
pkgs/tools/admin/ssh-import-id/default.nix
Normal file
36
pkgs/tools/admin/ssh-import-id/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, requests
|
||||
, makeWrapper
|
||||
, extraHandlers ? []
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ssh-import-id";
|
||||
version = "5.8";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.launchpad.net/ssh-import-id";
|
||||
rev = version;
|
||||
sha256 = "0l9gya1hyf2qfidlmvg2cgfils1fp9rn5r8sihwvx4qfsfp5yaak";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
] ++ extraHandlers;
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
# handlers require main bin, main bin requires handlers
|
||||
makeWrapperArgs = [ "--prefix" ":" "$out/bin" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Retrieves an SSH public key and installs it locally";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ mkg20001 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -1073,6 +1073,8 @@ in
|
|||
|
||||
ssh-agents = callPackage ../tools/networking/ssh-agents { };
|
||||
|
||||
ssh-import-id = python3Packages.callPackage ../tools/admin/ssh-import-id { };
|
||||
|
||||
titaniumenv = callPackage ../development/mobile/titaniumenv { };
|
||||
|
||||
abootimg = callPackage ../development/mobile/abootimg {};
|
||||
|
|
Loading…
Reference in a new issue