5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
25 lines
637 B
Nix
25 lines
637 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "yamlfmt";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+xlPXHM/4blnm09OcMSpvVTLJy38U4xkVMd3Ea2scyU=";
|
|
};
|
|
|
|
vendorHash = "sha256-qrHrLOfyJhsuU75arDtfOhLaLqP+GWTfX+oyLX3aea8=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "An extensible command line tool or library to format yaml files.";
|
|
homepage = "https://github.com/google/yamlfmt";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ sno2wman ];
|
|
mainProgram = "yamlfmt";
|
|
};
|
|
}
|