mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
ssh-import-id: init at 5.8
This commit is contained in:
parent
b9f7819bd3
commit
5214b7244c
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;
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user