Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / yamlfmt / default.nix
blob3b54c025f89b0de8b3f136b51fc9a8ddca392497
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "yamlfmt";
5   version = "0.10.0";
7   src = fetchFromGitHub {
8     owner = "google";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-+xlPXHM/4blnm09OcMSpvVTLJy38U4xkVMd3Ea2scyU=";
12   };
14   vendorHash = "sha256-qrHrLOfyJhsuU75arDtfOhLaLqP+GWTfX+oyLX3aea8=";
16   doCheck = false;
18   meta = with lib; {
19     description = "An extensible command line tool or library to format yaml files.";
20     homepage = "https://github.com/google/yamlfmt";
21     license = licenses.asl20;
22     maintainers = with maintainers; [ sno2wman ];
23     mainProgram = "yamlfmt";
24   };