mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
yamlfmt: init at 0.7.1
This commit is contained in:
parent
80e2e282c0
commit
f8a7e5cf2b
2 changed files with 26 additions and 0 deletions
24
pkgs/development/tools/yamlfmt/default.nix
Normal file
24
pkgs/development/tools/yamlfmt/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue