nixpkgs/pkgs/applications/misc/ssh-tools/default.nix

26 lines
576 B
Nix
Raw Normal View History

2021-02-12 17:02:20 +01:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ssh-tools";
version = "1.6";
src = fetchFromGitHub {
owner = "vaporup";
repo = pname;
rev = "v${version}";
sha256 = "0m0x9383p9ab4hdirncmrfha130iasa0v4cbif2y5nbxnxgh101r";
};
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 ];
};
}