bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
25 lines
633 B
Nix
25 lines
633 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "yamlfmt";
|
|
version = "0.12.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VAXDkD4JLoiTomCNtuex/ZEAZtWDEEg5cxETYemvQW8=";
|
|
};
|
|
|
|
vendorHash = "sha256-UfULQw7wAEJjTFp6+ACF5Ki04eFKeUEgmbt1c8pUolA=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "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";
|
|
};
|
|
}
|