0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
22 lines
567 B
Nix
22 lines
567 B
Nix
{ 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 ];
|
|
};
|
|
}
|