diff --git a/pkgs/tools/misc/up/default.nix b/pkgs/tools/misc/up/default.nix index b3d275d3081d..47c504cd1a71 100644 --- a/pkgs/tools/misc/up/default.nix +++ b/pkgs/tools/misc/up/default.nix @@ -2,18 +2,16 @@ buildGoModule rec { pname = "up"; - version = "0.3.2"; - - patches = [ ./gomod.patch ]; + version = "0.4"; src = fetchFromGitHub { owner = "akavel"; repo = "up"; rev = "v${version}"; - sha256 = "1psixyymk98z52yy92lwb75yfins45dw6rif9cxwd7yiascwg2if"; + sha256 = "1j8fi14fiwjscfzdfjqxgavjadwvcm5mqr8fb7hx3jmxs4kl58bp"; }; - vendorSha256 = "1h3w4i7dyh6yagqmdclvflfq6fx0z880jdnpf28assv7fxd9rjsx"; + vendorSha256 = "1q8wfsfl3rz698ck5q5s5z6iw9k134fxxvwipcp2b052n998rcrx"; doCheck = false; diff --git a/pkgs/tools/misc/up/gomod.patch b/pkgs/tools/misc/up/gomod.patch deleted file mode 100644 index f894f14d21f1..000000000000 --- a/pkgs/tools/misc/up/gomod.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/go.mod b/go.mod -index ecbfe90..56a1409 100644 ---- a/go.mod -+++ b/go.mod -@@ -1,11 +1,14 @@ - module github.com/akavel/up - -+go 1.14 -+ - require ( -- github.com/gdamore/encoding v0.0.0-20151215212835-b23993cbb635 -+ github.com/gdamore/encoding v0.0.0-20151215212835-b23993cbb635 // indirect - github.com/gdamore/tcell v0.0.0-20180924055237-493f3b46b3c2 -- github.com/lucasb-eyer/go-colorful v0.0.0-20170903184257-231272389856 -+ github.com/lucasb-eyer/go-colorful v0.0.0-20170903184257-231272389856 // indirect - github.com/mattn/go-isatty v0.0.3 -- github.com/mattn/go-runewidth v0.0.2 -+ github.com/mattn/go-runewidth v0.0.2 // indirect - github.com/spf13/pflag v1.0.3 -- golang.org/x/text v0.0.0-20171214130843-f21a4dfb5e38 -+ golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect -+ golang.org/x/text v0.0.0-20171214130843-f21a4dfb5e38 // indirect - )