at master 43 lines 888 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitea, 5 installShellFiles, 6 perl, 7}: 8 9buildGoModule rec { 10 pname = "ssh-tools"; 11 version = "1.9"; 12 13 src = fetchFromGitea { 14 domain = "codeberg.org"; 15 owner = "vaporup"; 16 repo = "ssh-tools"; 17 rev = "v${version}"; 18 hash = "sha256-ZMjpc2zjvuLJES5ixEHvo7oAx1JGzy60LzN09Ykn/54="; 19 }; 20 21 vendorHash = "sha256-GSFhz3cIRl4XUA18HUeUkrw+AJyOkU3ZrZKYTGsWbug="; 22 23 subPackages = [ 24 "cmd/go/ssh-authorized-keys" 25 "cmd/go/ssh-sig" 26 ]; 27 28 nativeBuildInputs = [ installShellFiles ]; 29 30 buildInputs = [ perl ]; 31 32 postInstall = '' 33 install cmd/{bash,perl}/ssh-*/ssh-* -t $out/bin 34 installManPage man/*.1 35 ''; 36 37 meta = with lib; { 38 description = "Making SSH more convenient"; 39 homepage = "https://codeberg.org/vaporup/ssh-tools"; 40 license = licenses.gpl3Only; 41 maintainers = with maintainers; [ SuperSandro2000 ]; 42 }; 43}