Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 23 lines 589 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 mainProgram = "refmt"; 19 homepage = "https://github.com/rjeczalik/refmt"; 20 license = licenses.agpl3Only; 21 maintainers = with lib.maintainers; [ deemp ]; 22 }; 23}