diff options
author | figsoda <figsoda@pm.me> | 2023-09-19 08:47:23 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-09-19 08:47:37 -0400 |
commit | 882b759a57a9041eb0733207065a70e2b487bf47 (patch) | |
tree | 65951c5ed7b056f89162fff2cdf45945b8312d31 /pkgs/development/tools/fx | |
parent | fa6cdce1d77c8c30e7a60ef7726ec06d6376450a (diff) |
fx: 30.0.0 -> 30.0.2
Diff: https://github.com/antonmedv/fx/compare/30.0.0...30.0.2 Changelog: https://github.com/antonmedv/fx/releases/tag/30.0.2
Diffstat (limited to 'pkgs/development/tools/fx')
-rw-r--r-- | pkgs/development/tools/fx/default.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/pkgs/development/tools/fx/default.nix b/pkgs/development/tools/fx/default.nix index 537cfe5c1d6fc..f0694a6b95a50 100644 --- a/pkgs/development/tools/fx/default.nix +++ b/pkgs/development/tools/fx/default.nix @@ -1,17 +1,26 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: buildGoModule rec { pname = "fx"; - version = "30.0.0"; + version = "30.0.2"; src = fetchFromGitHub { owner = "antonmedv"; repo = pname; rev = version; - hash = "sha256-MRWDitL9nATi6+oaOJ/A+iaNLztWBZ+Mrs7Hkt0lhL8="; + hash = "sha256-dpIkWgABATDyG3pCdeDKVar53eBHFP3f9XNKkTrr96c="; }; - vendorHash = "sha256-cIyh/FC1lcUgPeUZKrh+kCZmSKGE7Bo411eI0dZeMx4="; + patches = [ + # fix failing test + (fetchpatch { + name = "fix-dig-test.patch"; + url = "https://github.com/antonmedv/fx/commit/adf3775828157d903e3f32ab4023fe750fa85e68.patch"; + hash = "sha256-/6UfI0IW/+ZbgXi3W6BRTfVPko7V4s/NnaunvLDcw2A="; + }) + ]; + + vendorHash = "sha256-FyV3oaI4MKl0LKJf23XIeUmvFsa1DvQw2pq5Heza3Ws="; meta = with lib; { description = "Terminal JSON viewer"; |