golines: init at 0.11.0
This commit is contained in:
parent
24b160324c
commit
ba375edb3f
2 changed files with 24 additions and 0 deletions
pkgs
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 ];
|
||||
};
|
||||
}
|
|
@ -26016,6 +26016,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