Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / hcl2json / default.nix
blob57d1e8e2ed15412cf91a16b14b19e0bb8458d903
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "hcl2json";
8   version = "0.6.0";
10   src = fetchFromGitHub {
11     owner = "tmccombs";
12     repo = pname;
13     rev = "v${version}";
14     sha256 = "sha256-XdPRata9B8cK58eyAKxEBBwKAum+z0yoGgUGSkmhXfw=";
15   };
17   vendorHash = "sha256-F7G8K0tfXyLHQgqd2PE9eRXlhkFgijAO9LKKj9mvvwc=";
19   subPackages = [ "." ];
21   meta = with lib; {
22     description = "Convert hcl2 to json";
23     homepage = "https://github.com/tmccombs/hcl2json";
24     license = licenses.asl20;
25     maintainers = with maintainers; [ jonringer ];
26   };