Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / golines / default.nix
blob986e68dd634d0039ea2e291b0a3832bd6c76f14f
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "golines";
5   version = "0.11.0";
7   src = fetchFromGitHub {
8     owner = "segmentio";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-2K9KAg8iSubiTbujyFGN3yggrL+EDyeUCs9OOta/19A=";
12   };
14   vendorHash = "sha256-rxYuzn4ezAxaeDhxd8qdOzt+CKYIh03A9zKNdzILq18=";
16   meta = with lib; {
17     description = "A golang formatter that fixes long lines";
18     homepage = "https://github.com/segmentio/golines";
19     license = licenses.mit;
20     maintainers = with maintainers; [ meain ];
21   };