Merge pull request from nagy/jp-021

This commit is contained in:
Sandro 2022-03-16 14:04:43 +01:00 committed by GitHub
commit e7352f19bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,18 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "jp";
version = "0.1.3";
rev = version;
goPackagePath = "github.com/jmespath/jp";
version = "0.2.1";
src = fetchFromGitHub {
inherit rev;
rev = version;
owner = "jmespath";
repo = "jp";
sha256 = "0fdbnihbd0kq56am3bmh2zrfk4fqjslcbm48malbgmpqw3a5nvpi";
hash = "sha256-a3WvLAdUZk+Y+L+opPDMBvdN5x5B6nAi/lL8JHJG/gY=";
};
vendorSha256 = "sha256-K6ZNtART7tcVBH5myV6vKrKWfnwK8yTa6/KK4QLyr00=";
meta = with lib; {
description = "A command line interface to the JMESPath expression language for JSON";
homepage = "https://github.com/jmespath/jp";