summary refs log tree commit diff
path: root/pkgs/applications/misc/ssh-tools/default.nix
blob: 2e79f69656f9beaf50598f2fc6681d7f92f65bf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "ssh-tools";
  version = "1.7";

  src = fetchFromGitHub {
    owner = "vaporup";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-PDoljR/e/qraPhG9RRjHx1gBIMtTJ815TZDJws8Qg6o=";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp ssh-* $out/bin/
  '';

  meta = with lib; {
    description = "Collection of various tools using ssh";
    homepage = "https://github.com/vaporup/ssh-tools/";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}