nixpkgs/pkgs/applications/misc/tty-share/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
691 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-12-19 10:25:45 +00:00
buildGoModule rec {
2020-12-19 10:25:45 +00:00
pname = "tty-share";
2022-11-27 11:14:10 +00:00
version = "2.4.0";
2020-12-19 10:25:45 +00:00
src = fetchFromGitHub {
owner = "elisescu";
repo = "tty-share";
rev = "v${version}";
2022-11-27 11:14:10 +00:00
sha256 = "sha256-7rNSBpiZslUGWw0P/Q1zRtNxo9MN8Vq6hG8pD6bJIsA=";
2020-12-19 10:25:45 +00:00
};
# Upstream has a `./vendor` directory with all deps which we rely upon.
vendorHash = null;
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-12-19 10:25:45 +00:00
meta = with lib; {
2020-12-19 10:25:45 +00:00
homepage = "https://tty-share.com";
description = "Share terminal via browser for remote work or shared sessions";
license = licenses.mit;
maintainers = with maintainers; [ andys8 ];
2024-02-11 02:19:15 +00:00
mainProgram = "tty-share";
2020-12-19 10:25:45 +00:00
};
}