Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11-beta 22 lines 562 B view raw
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "refmt"; 5 version = "1.6.1"; 6 7 src = fetchFromGitHub { 8 owner = "rjeczalik"; 9 repo = "refmt"; 10 rev = "v${version}"; 11 sha256 = "sha256-HiAWSR2S+3OcIgwdQ0ltW37lcG+OHkDRDUF07rfNcJY="; 12 }; 13 14 vendorHash = "sha256-MiYUDEF9W0VAiOX6uE8doXtGAekIrA1cfA8A2a7xd2I="; 15 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 }; 22}