Merge pull request #210825 from meain/golines

golines: init at 0.11.0
This commit is contained in:
Nick Cao 2023-01-16 13:56:38 +08:00 committed by GitHub
commit 22f77d8eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "golines";
version = "0.11.0";
src = fetchFromGitHub {
owner = "segmentio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2K9KAg8iSubiTbujyFGN3yggrL+EDyeUCs9OOta/19A=";
};
vendorSha256 = "sha256-rxYuzn4ezAxaeDhxd8qdOzt+CKYIh03A9zKNdzILq18=";
meta = with lib; {
description = "A golang formatter that fixes long lines";
homepage = "https://github.com/segmentio/golines";
license = licenses.mit;
maintainers = with maintainers; [ meain ];
};
}

View file

@ -25979,6 +25979,8 @@ with pkgs;
go-task = callPackage ../development/tools/go-task { };
golines = callPackage ../development/tools/golines { };
golint = callPackage ../development/tools/golint { };
golangci-lint = callPackage ../development/tools/golangci-lint { };