diff --git a/pkgs/ssh3/client.nix b/pkgs/ssh3/client.nix index ccd6b32..3e80d6d 100644 --- a/pkgs/ssh3/client.nix +++ b/pkgs/ssh3/client.nix @@ -1,23 +1,18 @@ { lib, buildGoModule, fetchFromGitHub, playerctl }: buildGoModule rec { pname = "ssh3"; - version = "0.1.4"; + version = "0.1.7"; src = fetchFromGitHub { owner = "francoismichel"; repo = "ssh3"; rev = "v${version}"; - hash = "sha256-0bd2hdvgapTGEGM7gdpVwxelN5BRbmdcgANbRHZ/nRw="; + hash = "sha256-ZtQAJwGvNlJWUoDa6bS3AEdM3zbNMPQGdaIhR+yIonw="; }; - subPackages = [ "cli/client" ]; + subPackages = [ "cmd/ssh3" ]; - - - vendorHash = "sha256-ZtKxAKNyMnZ8v96GUUm4EukdIJD+ITDW9kHOez7nYmg="; - postInstall = '' - mv $out/bin/client $out/bin/ssh3 - ''; + vendorHash = "sha256-VUNvb7m1nnH+mXUsnIKyPKJEVSMXBAaS4ihi5DZeFiI="; meta = with lib; { description = "Faster and rich secure shell using HTTP/3"; diff --git a/pkgs/ssh3/server.nix b/pkgs/ssh3/server.nix index 87cf0b2..342beee 100644 --- a/pkgs/ssh3/server.nix +++ b/pkgs/ssh3/server.nix @@ -1,25 +1,20 @@ { lib, buildGoModule, libxcrypt, fetchFromGitHub, playerctl }: buildGoModule rec { pname = "ssh3-server"; - version = "0.1.4"; + version = "0.1.7"; src = fetchFromGitHub { owner = "francoismichel"; repo = "ssh3"; rev = "v${version}"; - hash = "sha256-0bd2hdvgapTGEGM7gdpVwxelN5BRbmdcgANbRHZ/nRw="; + hash = "sha256-ZtQAJwGvNlJWUoDa6bS3AEdM3zbNMPQGdaIhR+yIonw="; }; - subPackages = [ "cli/server" ]; + subPackages = [ "cmd/ssh3-server" ]; buildInputs = [ libxcrypt ]; - - - vendorHash = "sha256-ZtKxAKNyMnZ8v96GUUm4EukdIJD+ITDW9kHOez7nYmg="; - postInstall = '' - mv $out/bin/server $out/bin/ssh3-server - ''; + vendorHash = "sha256-VUNvb7m1nnH+mXUsnIKyPKJEVSMXBAaS4ihi5DZeFiI="; meta = with lib; { description = "Faster and rich secure shell using HTTP/3";