mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
26 lines
575 B
Nix
26 lines
575 B
Nix
{ 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 ];
|
|
};
|
|
}
|