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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
575 B
Nix
Raw Normal View History

2021-02-12 16:02:20 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ssh-tools";
2021-10-31 19:44:51 +00:00
version = "1.7";
2021-02-12 16:02:20 +00:00
src = fetchFromGitHub {
owner = "vaporup";
repo = pname;
rev = "v${version}";
2021-10-31 19:44:51 +00:00
sha256 = "sha256-PDoljR/e/qraPhG9RRjHx1gBIMtTJ815TZDJws8Qg6o=";
2021-02-12 16:02:20 +00:00
};
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 ];
};
}