yamlfmt: init at 0.7.1

This commit is contained in:
SnO2WMaN 2023-02-07 06:44:21 +09:00
parent 80e2e282c0
commit f8a7e5cf2b
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "yamlfmt";
version = "0.7.1";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
sha256 = "sha256-oTdBFWISOfaz4ZDbJmyxtaKrjo9DVNJ5N7Qxnu7SwZA=";
};
vendorSha256 = "sha256-QRY6mYtrMvjUqXJOOvHL0b0OQ28320UwV8HL4fXpcNQ=";
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 ];
};
}

View File

@ -13609,6 +13609,8 @@ with pkgs;
yamlfix = with python3Packages; toPythonApplication yamlfix;
yamlfmt = callPackage ../development/tools/yamlfmt {};
yamllint = with python3Packages; toPythonApplication yamllint;
yamlpath = callPackage ../development/tools/yamlpath { };