depot/third_party/nixpkgs/pkgs/tools/networking/passh/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
707 B
Nix

{ lib, fetchFromGitHub, stdenv }:
stdenv.mkDerivation (finalAttrs: {
pname = "passh";
version = "2020-03-18";
src = fetchFromGitHub {
owner = "clarkwang";
repo = finalAttrs.pname;
rev = "7112e667fc9e65f41c384f89ff6938d23e86826c";
sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5";
};
installPhase = ''
mkdir -p $out/bin
cp ${finalAttrs.pname} $out/bin
'';
meta = with lib; {
homepage = "https://github.com/clarkwang/passh";
description = "Sshpass alternative for non-interactive ssh auth";
license = licenses.gpl3;
maintainers = [ maintainers.lovesegfault ];
mainProgram = finalAttrs.pname;
platforms = platforms.unix;
};
})