gron: 0.6.1 -> 0.7.1

This commit is contained in:
Francesco Gazzetta 2022-04-14 11:29:46 +02:00
parent 94eb0d16a3
commit 31ce165240

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