json2hcl: 0.0.6 -> 0.0.7

This commit is contained in:
Aaron Jheng 2022-05-27 11:52:01 +00:00
parent 23684fc690
commit 30aa1e1512
No known key found for this signature in database
GPG key ID: F6A547A869D050A3
2 changed files with 11 additions and 31 deletions

View file

@ -1,24 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "json2hcl";
version = "0.0.6";
version = "0.0.7";
src = fetchFromGitHub {
inherit owner;
owner = "kvz";
repo = pname;
rev = "v${version}";
sha256 = "0knil88n2w41w3nzqz6ljgfjkl5r3x0bh7ifqgiyf6sin3pl4pn0";
sha256 = "sha256-H3jDZL/guVwJIZs7PD/rIvH3ZRYQzNTU/iUvy8aXs0o=";
};
owner = "kvz";
goPackagePath = "github.com/${owner}/${pname}";
goDeps = ./deps.nix;
vendorSha256 = "sha256-GxYuFak+5CJyHgC1/RsS0ub84bgmgL+bI4YKFTb+vIY=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Convert JSON to HCL, and vice versa";
license = with licenses; [ mit ];
maintainers = [ maintainers.matthewbauer ];
platforms = platforms.unix;
homepage = "https://github.com/kvz/json2hcl";
license = licenses.mit;
maintainers = with maintainers; [ matthewbauer ];
};
}

View file

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/Acconut/hcl";
fetch = {
type = "git";
url = "https://github.com/Acconut/hcl";
rev = "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8";
sha256 = "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc";
};
}
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
rev = "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8";
sha256 = "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc";
};
}
]