commit
22f77d8eb7
22
pkgs/development/tools/golines/default.nix
Normal file
22
pkgs/development/tools/golines/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue