13 src = fetchFromGitHub {
14 owner = "owenthereal";
17 hash = "sha256-koZRKxp6Q52jvpmQqQAGvPHoiiU2LaEuNeRY/rru+XM=";
20 vendorHash = "sha256-PUcfE7LQQh2ftiOiOoucSfxYnTI4zRNmmSqqmvvvs7g=";
27 nativeBuildInputs = [ installShellFiles ];
30 # force go to build for build arch rather than host arch during cross-compiling
31 CGO_ENABLED=0 GOOS= GOARCH= go run cmd/gendoc/main.go
32 installManPage etc/man/man*/*
33 installShellCompletion --bash --name upterm.bash etc/completion/upterm.bash_completion.sh
34 installShellCompletion --zsh --name _upterm etc/completion/upterm.zsh_completion
39 passthru.tests = { inherit (nixosTests) uptermd; };
41 __darwinAllowLocalNetworking = true;
44 description = "Secure terminal-session sharing";
45 homepage = "https://upterm.dev";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ hax404 ];