mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
ssh-tools: 1.7 -> 1.8-unstable-2024-03-18
This commit is contained in:
parent
e2e2a2c9bc
commit
683b48c4ab
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user