ssh-tools: 1.7 -> 1.8-unstable-2024-03-18

This commit is contained in:
Sandro Jäckel 2024-08-13 16:26:20 +02:00
parent e2e2a2c9bc
commit 683b48c4ab
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,24 +1,36 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitea, installShellFiles, perl }:
stdenv.mkDerivation rec {
buildGoModule rec {
pname = "ssh-tools";
version = "1.7";
version = "1.8-unstable-2024-03-18";
src = fetchFromGitHub {
src = fetchFromGitea {
domain = "codeberg.org";
owner = "vaporup";
repo = pname;
rev = "v${version}";
sha256 = "sha256-PDoljR/e/qraPhG9RRjHx1gBIMtTJ815TZDJws8Qg6o=";
repo = "ssh-tools";
rev = "69c73844b2498c46f1293b129808bfdce8822c28";
hash = "sha256-cG75Jn331G0HZZyrE+JWC05f6DgYBz6sx8MTCxsG/vw=";
};
installPhase = ''
mkdir -p $out/bin
cp ssh-* $out/bin/
vendorHash = "sha256-GSFhz3cIRl4XUA18HUeUkrw+AJyOkU3ZrZKYTGsWbug=";
subPackages = [
"cmd/go/ssh-authorized-keys"
"cmd/go/ssh-sig"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ perl ];
postInstall = ''
install cmd/{bash,perl}/ssh-*/ssh-* -t $out/bin
installManPage man/*.1
'';
meta = with lib; {
description = "Collection of various tools using ssh";
homepage = "https://github.com/vaporup/ssh-tools/";
description = "Making SSH more convenient";
homepage = "https://codeberg.org/vaporup/ssh-tools";
license = licenses.gpl3Only;
maintainers = with maintainers; [ SuperSandro2000 ];
};