ssh-import-id: init at 5.8

This commit is contained in:
Maciej Krüger 2020-02-25 15:59:34 +01:00
parent b9f7819bd3
commit 5214b7244c
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F
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

@ -1019,6 +1019,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 {};