Loading pkgs/tools/admin/ssh-import-id/default.nix→pkgs/by-name/ss/ssh-import-id/package.nix +63 −0 Original line number Diff line number Diff line { buildPythonPackage , lib , fetchgit , requests , distro , makeWrapper , installShellFiles , extraHandlers ? [] { lib, extraHandlers ? [ ], fetchgit, installShellFiles, makeWrapper, python3Packages, }: buildPythonPackage rec { python3Packages.buildPythonApplication rec { pname = "ssh-import-id"; version = "5.11"; pyproject = true; src = fetchgit { url = "https://git.launchpad.net/ssh-import-id"; rev = version; sha256 = "sha256-tYbaJGH59qyvjp4kwo3ZFVs0EaE0Lsd2CQ6iraFkAdI="; rev = "refs/tags/${version}"; hash = "sha256-tYbaJGH59qyvjp4kwo3ZFVs0EaE0Lsd2CQ6iraFkAdI="; }; propagatedBuildInputs = [ requests distro ] ++ extraHandlers; postPatch = '' substituteInPlace setup.py \ --replace-fail "long_description_content_type='markdown'" "long_description_content_type='text/markdown'" ''; build-system = with python3Packages; [ setuptools ]; nativeBuildInputs = [ makeWrapper installShellFiles ]; dependencies = with python3Packages; [ requests distro ] ++ extraHandlers; postInstall = '' installManPage $src/usr/share/man/man1/ssh-import-id.1 ''; # handlers require main bin, main bin requires handlers makeWrapperArgs = [ "--prefix" ":" "$out/bin" ]; # Handlers require main bin, main bin requires handlers makeWrapperArgs = [ "--prefix" ":" "$out/bin" ]; meta = with lib; { description = "Retrieves an SSH public key and installs it locally"; license = licenses.gpl3; maintainers = with maintainers; [ mkg20001 viraptor ]; homepage = "https://launchpad.net/ssh-import-id"; license = licenses.gpl3Only; maintainers = with maintainers; [ mkg20001 viraptor ]; mainProgram = "ssh-import-id"; platforms = platforms.unix; }; } pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -3842,8 +3842,6 @@ with pkgs; ssh-agents = callPackage ../tools/networking/ssh-agents { }; ssh-import-id = python3Packages.callPackage ../tools/admin/ssh-import-id { }; ssh-key-confirmer = callPackage ../tools/networking/ssh-key-confirmer { }; ssh-mitm = callPackage ../tools/security/ssh-mitm { }; Loading
pkgs/tools/admin/ssh-import-id/default.nix→pkgs/by-name/ss/ssh-import-id/package.nix +63 −0 Original line number Diff line number Diff line { buildPythonPackage , lib , fetchgit , requests , distro , makeWrapper , installShellFiles , extraHandlers ? [] { lib, extraHandlers ? [ ], fetchgit, installShellFiles, makeWrapper, python3Packages, }: buildPythonPackage rec { python3Packages.buildPythonApplication rec { pname = "ssh-import-id"; version = "5.11"; pyproject = true; src = fetchgit { url = "https://git.launchpad.net/ssh-import-id"; rev = version; sha256 = "sha256-tYbaJGH59qyvjp4kwo3ZFVs0EaE0Lsd2CQ6iraFkAdI="; rev = "refs/tags/${version}"; hash = "sha256-tYbaJGH59qyvjp4kwo3ZFVs0EaE0Lsd2CQ6iraFkAdI="; }; propagatedBuildInputs = [ requests distro ] ++ extraHandlers; postPatch = '' substituteInPlace setup.py \ --replace-fail "long_description_content_type='markdown'" "long_description_content_type='text/markdown'" ''; build-system = with python3Packages; [ setuptools ]; nativeBuildInputs = [ makeWrapper installShellFiles ]; dependencies = with python3Packages; [ requests distro ] ++ extraHandlers; postInstall = '' installManPage $src/usr/share/man/man1/ssh-import-id.1 ''; # handlers require main bin, main bin requires handlers makeWrapperArgs = [ "--prefix" ":" "$out/bin" ]; # Handlers require main bin, main bin requires handlers makeWrapperArgs = [ "--prefix" ":" "$out/bin" ]; meta = with lib; { description = "Retrieves an SSH public key and installs it locally"; license = licenses.gpl3; maintainers = with maintainers; [ mkg20001 viraptor ]; homepage = "https://launchpad.net/ssh-import-id"; license = licenses.gpl3Only; maintainers = with maintainers; [ mkg20001 viraptor ]; mainProgram = "ssh-import-id"; platforms = platforms.unix; }; }
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -3842,8 +3842,6 @@ with pkgs; ssh-agents = callPackage ../tools/networking/ssh-agents { }; ssh-import-id = python3Packages.callPackage ../tools/admin/ssh-import-id { }; ssh-key-confirmer = callPackage ../tools/networking/ssh-key-confirmer { }; ssh-mitm = callPackage ../tools/security/ssh-mitm { };