2023-06-14 21:52:12 +02:00
|
|
|
{ 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=";
|
|
|
|
};
|
|
|
|
|
2023-09-13 06:44:46 +02:00
|
|
|
vendorHash = "sha256-MiYUDEF9W0VAiOX6uE8doXtGAekIrA1cfA8A2a7xd2I=";
|
2023-06-14 21:52:12 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reformat HCL <-> JSON <-> YAML";
|
|
|
|
homepage = "https://github.com/rjeczalik/refmt";
|
|
|
|
license = licenses.agpl3Only;
|
|
|
|
maintainers = with lib.maintainers; [ deemp ];
|
|
|
|
};
|
|
|
|
}
|