12 src = fetchFromGitHub {
13 owner = "owenthereal";
16 hash = "sha256-ywwqX4aw9vc2kptYZisArTpdz7Cf49Z0jMdP90KXejs=";
21 subPackages = [ "cmd/upterm" "cmd/uptermd" ];
23 nativeBuildInputs = [ installShellFiles ];
26 # force go to build for build arch rather than host arch during cross-compiling
27 CGO_ENABLED=0 GOOS= GOARCH= go run cmd/gendoc/main.go
28 installManPage etc/man/man*/*
29 installShellCompletion --bash --name upterm.bash etc/completion/upterm.bash_completion.sh
30 installShellCompletion --zsh --name _upterm etc/completion/upterm.zsh_completion
35 passthru.tests = { inherit (nixosTests) uptermd; };
37 __darwinAllowLocalNetworking = true;
40 description = "Secure terminal-session sharing";
41 homepage = "https://upterm.dev";
42 license = licenses.asl20;
43 maintainers = with maintainers; [ hax404 ];