Merge pull request #256106 from figsoda/fx

fx: 30.0.0 -> 30.0.2
This commit is contained in:
figsoda 2023-09-20 10:15:48 -04:00 committed by GitHub
commit 6706ab69cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";