Commit f8a7e5cf authored by SnO2WMaN's avatar SnO2WMaN
Browse files

yamlfmt: init at 0.7.1

parent 80e2e282
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };