diff options
Diffstat (limited to 'pkgs/tools/system/gotop/default.nix')
-rw-r--r-- | pkgs/tools/system/gotop/default.nix | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/pkgs/tools/system/gotop/default.nix b/pkgs/tools/system/gotop/default.nix index 98d4698464e..a39e2788a57 100644 --- a/pkgs/tools/system/gotop/default.nix +++ b/pkgs/tools/system/gotop/default.nix @@ -2,32 +2,28 @@ , stdenv , buildGoModule , fetchFromGitHub -, fetchpatch , installShellFiles , IOKit }: buildGoModule rec { pname = "gotop"; - version = "4.1.4"; + version = "4.2.0"; + + outputs = [ + "out" + "man" + ]; src = fetchFromGitHub { owner = "xxxserxxx"; repo = pname; rev = "v${version}"; - hash = "sha256-jAUlaj9Nv/ipzxAkG2myd9DIboHj7IarNMVk/FQ274g="; + hash = "sha256-W7a3QnSIR95N88RqU2sr6oEDSqOXVfAwacPvS219+1Y="; }; - patches = [ - # To remove after https://github.com/xxxserxxx/gotop/pull/234 is merged - (fetchpatch { - url = "https://github.com/xxxserxxx/gotop/commit/3e3243fa1f046c126bf9cb34d55a12963b3ac116.patch"; - sha256 = "sha256-4q4dBTPpVfgXvApzUXdEEzIe31PoLHUK4mBWth6qCIg="; - }) - ]; - proxyVendor = true; - vendorSha256 = "sha256-Sq9ol9bZb0BfR/C8phcMSEjG9qgWyTmwpo/TS30j3Vk="; + vendorSha256 = "sha256-gpgduZbFCMMg/mXefhwMHvs4omml3RZ0h5XexO5vslM="; ldflags = [ "-s" "-w" "-X main.Version=v${version}" ]; |