blob: 1b7b34c70bd0e33f34310b4fd2ff08783483524b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "yamlfmt";
version = "0.12.0";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hT5+7WaFl19iIdXWFPD82BE9z/2wzHKJJvVE4ZpZwsk=";
};
vendorHash = "sha256-UfULQw7wAEJjTFp6+ACF5Ki04eFKeUEgmbt1c8pUolA=";
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";
};
}
|