2023-12-23 17:30:48 +01:00
|
|
|
{ lib, buildGoModule, libxcrypt, fetchFromGitHub, playerctl }:
|
2023-12-19 22:42:38 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ssh3-server";
|
2024-04-10 00:30:18 +02:00
|
|
|
version = "0.1.7";
|
2023-12-19 22:42:38 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "francoismichel";
|
|
|
|
repo = "ssh3";
|
|
|
|
rev = "v${version}";
|
2024-04-10 00:30:18 +02:00
|
|
|
hash = "sha256-ZtQAJwGvNlJWUoDa6bS3AEdM3zbNMPQGdaIhR+yIonw=";
|
2023-12-19 22:42:38 +01:00
|
|
|
};
|
|
|
|
|
2024-04-10 00:30:18 +02:00
|
|
|
subPackages = [ "cmd/ssh3-server" ];
|
2023-12-19 22:42:38 +01:00
|
|
|
|
|
|
|
buildInputs = [ libxcrypt ];
|
|
|
|
|
2024-04-10 00:30:18 +02:00
|
|
|
vendorHash = "sha256-VUNvb7m1nnH+mXUsnIKyPKJEVSMXBAaS4ihi5DZeFiI=";
|
2023-12-19 22:42:38 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Faster and rich secure shell using HTTP/3";
|
|
|
|
homepage = "https://github.com/francoismichel/ssh3";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ therealr5 ];
|
|
|
|
mainProgram = "ssh3";
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|