Merge pull request #182782 from Mic92/upterm

upterm: 0.8.2 -> 0.9.0

authored by

Stig and committed by
GitHub
7008a049 888e0ce8

+6 -4
+6 -4
pkgs/tools/misc/upterm/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "upterm"; 10 - version = "0.8.2"; 10 + version = "0.9.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "owenthereal"; 14 14 repo = "upterm"; 15 15 rev = "v${version}"; 16 - hash = "sha256-JcUFsj7+Hu++izyxozttyxTGW51vBfgNSvAa/AIrsvs="; 16 + hash = "sha256-ywwqX4aw9vc2kptYZisArTpdz7Cf49Z0jMdP90KXejs="; 17 17 }; 18 18 19 19 vendorSha256 = null; 20 20 21 + subPackages = [ "cmd/upterm" "cmd/uptermd" ]; 22 + 21 23 nativeBuildInputs = [ installShellFiles ]; 22 24 23 25 postInstall = '' 24 - $out/bin/gendoc 25 - rm $out/bin/gendoc 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 26 28 installManPage etc/man/man*/* 27 29 installShellCompletion --bash --name upterm.bash etc/completion/upterm.bash_completion.sh 28 30 installShellCompletion --zsh --name _upterm etc/completion/upterm.zsh_completion