Unverified Commit 6706ab69 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #256106 from figsoda/fx

fx: 30.0.0 -> 30.0.2
parents dcdf6002 882b759a
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
{ 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";