NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.06k stars 14.04k forks source link

Update request: upterm 0.10.0 → 0.12.0 #258255

Closed toastal closed 1 year ago

toastal commented 1 year ago

Notify maintainers

@hax404


tried

diff --git i/pkgs/tools/misc/upterm/default.nix w/pkgs/tools/misc/upterm/default.nix
index 76c39f665a15..3a4e15cea9ff 100644
--- i/pkgs/tools/misc/upterm/default.nix
+++ w/pkgs/tools/misc/upterm/default.nix
@@ -7,13 +7,13 @@

 buildGoModule rec {
   pname = "upterm";
-  version = "0.10.0";
+  version = "0.12.0";

   src = fetchFromGitHub {
     owner = "owenthereal";
     repo = "upterm";
     rev = "v${version}";
-    hash = "sha256-wjbptcGy3wOZPm/11El7Xqz6NrR8G19V9zfU5pKFGuk=";
+    hash = "sha256-Ljiy23qZTe81qaRTgrpuAdZqdOT8t8+cTqXLpKo5yFc=";
   };

   vendorHash = null;
$ nix-build -A upterm
this derivation will be built:
  /nix/store/wgxvbpjl6z6ap4x4zlknsy2afvb875qa-upterm-0.12.0.drv
building '/nix/store/wgxvbpjl6z6ap4x4zlknsy2afvb875qa-upterm-0.12.0.drv' on 'ssh://olisbokollix-builder'...
copying path '/nix/store/zfywx7mqfwiiw7a1zdv79bxmh5p2d2p1-iana-etc-20230316' from 'https://cache.nixos.org'...
copying path '/nix/store/23wrmhyfnwjxc9cvy3lab9xj551ic53c-go-1.20.8' from 'https://cache.nixos.org'...
copying 1 paths...
copying path '/nix/store/58ai7dzvjxyvj5764ylfxbb7ybk4cfz4-source' to 'ssh://olisbokollix-builder'...
unpacking sources
unpacking source archive /nix/store/58ai7dzvjxyvj5764ylfxbb7ybk4cfz4-source
source root is source
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
building
Building subPackage ./cmd/upterm
go: inconsistent vendoring in /build/source:
        github.com/VividCortex/gohistogram@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/anmitsu/go-shlex@v0.0.0-20200514113438-38f4b401e2be: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/apex/log@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/bradfitz/iter@v0.0.0-20191230175014-e8f45d346db8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/buger/goterm@v0.0.0-20200322175922-2f3e71b85129: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/c4milo/unpackit@v0.0.0-20170704181138-4ed373e9ef1c: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/creack/pty@v1.1.19-0.20220421211855-0d412c9fbeb1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/dchest/uniuri@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/dsnet/compress@v0.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/gen2brain/beeep@v0.0.0-20220909211152-5a9ec94374f6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/gliderlabs/ssh@v0.3.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/go-kit/kit@v0.12.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/google/go-querystring@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/google/shlex@v0.0.0-20181106134648-c34317bd91bf: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/gorilla/websocket@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/gosuri/uilive@v0.0.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/gosuri/uiprogress@v0.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/hashicorp/go-multierror@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/heroku/rollrus@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/hooklift/assert@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/influxdata/influxdb1-client@v0.0.0-20200827194710-b269163b24ab: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/jpillora/chisel@v1.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/klauspost/pgzip@v1.2.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/mattn/go-isatty@v0.0.14: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/oklog/run@v1.1.1-0.20200508094559-c7096881717e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/olebedev/emitter@v0.0.0-20190110104742-e8d1457e6aee: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/olekukonko/tablewriter@v0.0.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/pborman/ansi@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/prometheus/client_golang@v1.17.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/rs/xid@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/sirupsen/logrus@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/spf13/cobra@v1.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/tj/go@v1.8.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/tj/go-update@v2.2.5-0.20200519121640-62b4b798fd68+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/ulikunitz/xz@v0.5.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/crypto@v0.12.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        google.golang.org/grpc@v1.58.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        google.golang.org/protobuf@v1.31.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/eiannone/keyboard@v0.0.0-20220611211555-0d226195f203: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/google/go-github/v48@v48.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/stretchr/testify@v1.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/exp@v0.0.0-20220407100705-7b9b53b0aca4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/term@v0.12.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/armon/go-socks5@v0.0.0-20160902184237-e75332964ef5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/beorn7/perks@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/cespare/xxhash/v2@v2.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/cpuguy83/go-md2man/v2@v2.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/fsnotify/fsnotify@v1.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/go-kit/log@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/go-logfmt/logfmt@v0.5.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/go-toast/toast@v0.0.0-20190211030409-01e6764cf0a4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/godbus/dbus/v5@v5.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/golang/protobuf@v1.5.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/hashicorp/errwrap@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/inconshreveable/mousetrap@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/jpillora/sizestr@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/klauspost/compress@v1.13.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/mattn/go-runewidth@v0.0.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/matttproud/golang_protobuf_extensions@v1.0.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/nu7hatch/gouuid@v0.0.0-20131221200532-179d4d0c4d8d: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/pkg/errors@v0.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/prometheus/client_model@v0.4.1-0.20230718164431-9a2bf3000d16: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/prometheus/common@v0.44.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/prometheus/procfs@v0.11.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/rollbar/rollbar-go@v1.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/russross/blackfriday/v2@v2.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/spf13/pflag@v1.0.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/tadvi/systray@v0.0.0-20190226123456-11a2b8fa57af: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/net@v0.14.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/sync@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/sys@v0.12.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/text@v0.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        google.golang.org/genproto/googleapis/rpc@v0.0.0-20230711160842-782d3b101e98: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        gopkg.in/yaml.v3@v3.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/gliderlabs/ssh: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
        golang.org/x/crypto: is replaced in go.mod, but not marked as replaced in vendor/modules.txt

        To ignore the vendor directory, use -mod=readonly or -mod=mod.
        To sync the vendor directory, run:
                go mod vendor
toastal commented 1 year ago

Bumping to 0.12 https://github.com/owenthereal/upterm/releases/tag/v0.12.0

toastal commented 1 year ago

Seems this need the vendor path now.