diff options
author | Danila Danko <br4ch1st0chr0n3@gmail.com> | 2023-06-14 22:52:12 +0300 |
---|---|---|
committer | Danila Danko <br4ch1st0chr0n3@gmail.com> | 2023-06-14 22:52:12 +0300 |
commit | 419b83474c2465e70c5e983e83cf08b01f658b42 (patch) | |
tree | 5c980a627e008cfef0cd5e9c4a72e5352df1fef2 /pkgs/development/tools/refmt | |
parent | 5d1d55743df51c49a50110cb8f5c66db8c1e463a (diff) | |
download | nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.tar nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.tar.gz nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.tar.bz2 nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.tar.lz nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.tar.xz nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.tar.zst nixlib-419b83474c2465e70c5e983e83cf08b01f658b42.zip |
refmt: init at 1.16.0
About: Reformat HCL ⇄ JSON ⇄ YAML. Release: https://github.com/rjeczalik/refmt/releases/tag/v1.6.1
Diffstat (limited to 'pkgs/development/tools/refmt')
-rw-r--r-- | pkgs/development/tools/refmt/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/refmt/default.nix b/pkgs/development/tools/refmt/default.nix new file mode 100644 index 000000000000..523d14b2a9a3 --- /dev/null +++ b/pkgs/development/tools/refmt/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} |