yq-go: 4.40.1 -> 4.40.3

This commit is contained in:
Hyeon-Gi Jeon 2023-12-01 13:12:14 +09:00 committed by GitHub
parent 77651cc035
commit 6b0c8452c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "yq-go";
version = "4.40.1";
version = "4.40.3";
src = fetchFromGitHub {
owner = "mikefarah";
repo = "yq";
rev = "v${version}";
hash = "sha256-S2hsZkospf1VMH/fDLiALEraOA8dbG62JejGY2T/tRU=";
hash = "sha256-id8KhHOOpRruANLGxdHIvs86ZEIDzhdbXtgXqWtl5Tc=";
};
vendorHash = "sha256-ggb8ZX2KBj/oY+vomCme/7KlnfsykMm4l027kwlxpWY=";
vendorHash = "sha256-9gLtVO4HFra1FaFjTwE02x8q1MkrI/Vo/mYZ2iIa7cU=";
nativeBuildInputs = [ installShellFiles ];
@ -23,7 +23,7 @@ buildGoModule rec {
'';
passthru.tests = {
simple = runCommand "${pname}-test" {} ''
simple = runCommand "${pname}-test" { } ''
echo "test: 1" | ${yq-go}/bin/yq eval -j > $out
[ "$(cat $out | tr -d $'\n ')" = '{"test":1}' ]
'';