Merge pull request #81028 from mkg20001/ssh-import-id

ssh-import-id: init at 5.8
This commit is contained in:
worldofpeace 2020-03-23 15:50:54 -04:00 committed by GitHub
commit 37c62efad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View 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;
};
}

View file

@ -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 {};