Merge pull request #168606 from fgaz/gron/0.7.1

gron: 0.6.1 -> 0.7.1
This commit is contained in:
Sandro 2022-04-15 03:41:22 +02:00 committed by GitHub
commit 5181d5945e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gron";
version = "0.6.1";
version = "0.7.1";
src = fetchFromGitHub {
owner = "tomnomnom";
repo = "gron";
rev = "v${version}";
sha256 = "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m";
sha256 = "sha256-ZkAfAQsaFX7npyDcBDFS4Xa8kOMVH6yGfxGD7c0iQ+o=";
};
patches = [
(fetchpatch {
name = "fix-inconsistent-vendoring.patch";
url = "https://github.com/tomnomnom/gron/pull/85/commits/d549a6cb68ed0e0ec7cc81d8275353acfe218725.patch";
sha256 = "1461v4f7w6q75l3988br0g1ynfhzsh34z38pd2w8fp57vrgkcfi5";
})
];
vendorSha256 = "sha256-Evn5R/LzripRgG0zOVP/DJrtjwNRwgKapsRdtZaZhlU=";
vendorSha256 = "sha256-K/QAG9mCIHe7PQhex3TntlGYAK9l0bESWk616N97dBs=";
meta = with lib; {
description = "Make JSON greppable!";