Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / refmt / default.nix
blobefcb03a49b8fab57a94c95ecc3cdd5579d751fb5
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "refmt";
5   version = "1.6.1";
7   src = fetchFromGitHub {
8     owner = "rjeczalik";
9     repo = "refmt";
10     rev = "v${version}";
11     sha256 = "sha256-HiAWSR2S+3OcIgwdQ0ltW37lcG+OHkDRDUF07rfNcJY=";
12   };
14   vendorHash = "sha256-MiYUDEF9W0VAiOX6uE8doXtGAekIrA1cfA8A2a7xd2I=";
16   meta = with lib; {
17     description = "Reformat HCL <-> JSON <-> YAML";
18     homepage = "https://github.com/rjeczalik/refmt";
19     license = licenses.agpl3Only;
20     maintainers = with lib.maintainers; [ deemp ];
21   };