Merge pull request #239272 from aaronjheng/yaml2json

yaml2json: 1.3 -> 1.3.2
This commit is contained in:
adisbladis 2023-06-23 17:30:25 +12:00 committed by GitHub
commit 05a9a6a6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,22 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "yaml2json";
version = "1.3";
goPackagePath = "github.com/bronze1man/yaml2json";
version = "1.3.2";
src = fetchFromGitHub {
owner = "bronze1man";
repo = "yaml2json";
rev = "v${version}";
sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1";
hash = "sha256-yVA5eV+/TxWN3wzsHy5++IGMAopkCz+PBfjSD+TNKc8=";
};
vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4=";
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/bronze1man/yaml2json";
description = "Convert yaml to json";