about summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-03-23 16:23:14 -0400
committerGitHub <noreply@github.com>2020-03-23 16:23:14 -0400
commit01fc385d4a96a30025fc48fa942d761cbacd13f2 (patch)
treefebf387c6ca6284cbc5e042bc2fabdc286ce32e6 /pkgs/tools/networking
parentae8815ebe864c9da662d20bd612b7a64e7949b4c (diff)
parent68775b63f1f1d3897617b0a59b155313df5d9cd9 (diff)
downloadnixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.tar
nixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.tar.gz
nixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.tar.bz2
nixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.tar.lz
nixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.tar.xz
nixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.tar.zst
nixlib-01fc385d4a96a30025fc48fa942d761cbacd13f2.zip
Merge pull request #82289 from lovesegfault/passh-2020-03-10
passh: init at 2020-03-18
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/passh/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/networking/passh/default.nix b/pkgs/tools/networking/passh/default.nix
new file mode 100644
index 000000000000..6534d3a1d517
--- /dev/null
+++ b/pkgs/tools/networking/passh/default.nix
@@ -0,0 +1,25 @@
+{ lib, fetchFromGitHub, stdenv }:
+stdenv.mkDerivation rec {
+  pname = "passh";
+  version = "2020-03-18";
+
+  src = fetchFromGitHub {
+    owner = "clarkwang";
+    repo = pname;
+    rev = "7112e667fc9e65f41c384f89ff6938d23e86826c";
+    sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5";
+  };
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp passh $out/bin
+  '';
+
+  meta = with lib; {
+    homepage = "https://github.com/clarkwang/passh";
+    description = "An sshpass alternative for non-interactive ssh auth";
+    license = licenses.gpl3;
+    maintainers = [ maintainers.lovesegfault ];
+    platforms = platforms.unix;
+  };
+}