mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
yamlfmt: init at 0.7.1
This commit is contained in:
parent
80e2e282c0
commit
f8a7e5cf2b
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 New Issue
Block a user