mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 01:16:57 +01:00
json2hcl: 0.0.6 -> 0.0.7
This commit is contained in:
parent
23684fc690
commit
30aa1e1512
2 changed files with 11 additions and 31 deletions
|
@ -1,24 +1,24 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "json2hcl";
|
pname = "json2hcl";
|
||||||
version = "0.0.6";
|
version = "0.0.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner;
|
owner = "kvz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0knil88n2w41w3nzqz6ljgfjkl5r3x0bh7ifqgiyf6sin3pl4pn0";
|
sha256 = "sha256-H3jDZL/guVwJIZs7PD/rIvH3ZRYQzNTU/iUvy8aXs0o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
owner = "kvz";
|
vendorSha256 = "sha256-GxYuFak+5CJyHgC1/RsS0ub84bgmgL+bI4YKFTb+vIY=";
|
||||||
goPackagePath = "github.com/${owner}/${pname}";
|
|
||||||
goDeps = ./deps.nix;
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Convert JSON to HCL, and vice versa";
|
description = "Convert JSON to HCL, and vice versa";
|
||||||
license = with licenses; [ mit ];
|
homepage = "https://github.com/kvz/json2hcl";
|
||||||
maintainers = [ maintainers.matthewbauer ];
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
maintainers = with maintainers; [ matthewbauer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
20
pkgs/development/tools/json2hcl/deps.nix
generated
20
pkgs/development/tools/json2hcl/deps.nix
generated
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in a new issue