diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-01-21 07:34:34 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-01-21 07:59:00 +1000 |
commit | 620868fbdb267c8331b284dd856060c79648bcf8 (patch) | |
tree | 87b3f1f8895a8b8c1732f349ecf5b445366804e9 /pkgs/tools/system | |
parent | 083d8f8bd68dc1bb253c743300d3c3546f5ce942 (diff) |
gdu: 3.0.0 -> 4.2.0
https://github.com/dundee/gdu/releases/tag/v4.0.0 https://github.com/dundee/gdu/releases/tag/v4.1.0 https://github.com/dundee/gdu/releases/tag/v4.2.0
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/gdu/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/tools/system/gdu/default.nix b/pkgs/tools/system/gdu/default.nix index 72ee7d5ebc627..53e69cd8cd6a7 100644 --- a/pkgs/tools/system/gdu/default.nix +++ b/pkgs/tools/system/gdu/default.nix @@ -2,23 +2,30 @@ , stdenv , buildGoModule , fetchFromGitHub +, installShellFiles }: buildGoModule rec { pname = "gdu"; - version = "3.0.0"; + version = "4.2.0"; src = fetchFromGitHub { owner = "dundee"; repo = pname; rev = "v${version}"; - sha256 = "0sfb8bxvdd8r05d0bgfcaw6dpbky7f4fgf0dbly7k7sgl29hkafy"; + sha256 = "0ppsz7ys08lmg5s7lszqc2zcp2vjm54aai3yr3sb4jf3knbmyg5g"; }; - vendorSha256 = "0w3k23kly8g9mf8a300xz6bv7g1m2nlp5f112k4viyi9zy6vqbv0"; + vendorSha256 = "058h71gmgi3n4b697myi5890arzw8fkzmxlm1aiwzyfh3k9iv0wh"; buildFlagsArray = [ "-ldflags=-s -w -X github.com/dundee/gdu/build.Version=${version}" ]; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installManPage gdu.1 + ''; + # tests fail if the version is set doCheck = false; |