nixpkgs/pkgs/development/tools/refmt/default.nix
Danila Danko 419b83474c refmt: init at 1.16.0
About: Reformat HCL ⇄ JSON ⇄ YAML.
Release: https://github.com/rjeczalik/refmt/releases/tag/v1.6.1
2023-06-14 22:52:12 +03:00

22 lines
564 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "refmt";
version = "1.6.1";
src = fetchFromGitHub {
owner = "rjeczalik";
repo = "refmt";
rev = "v${version}";
sha256 = "sha256-HiAWSR2S+3OcIgwdQ0ltW37lcG+OHkDRDUF07rfNcJY=";
};
vendorSha256 = "sha256-MiYUDEF9W0VAiOX6uE8doXtGAekIrA1cfA8A2a7xd2I=";
meta = with lib; {
description = "Reformat HCL <-> JSON <-> YAML";
homepage = "https://github.com/rjeczalik/refmt";
license = licenses.agpl3Only;
maintainers = with lib.maintainers; [ deemp ];
};
}