nixpkgs/pkgs/by-name/go/golines/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
570 B
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
}:
2023-01-15 05:08:32 +00:00
buildGoModule rec {
pname = "golines";
2024-01-28 09:06:56 +00:00
version = "0.12.2";
2023-01-15 05:08:32 +00:00
src = fetchFromGitHub {
owner = "segmentio";
repo = pname;
rev = "v${version}";
2024-01-28 09:06:56 +00:00
sha256 = "sha256-D0gI9BA0vgM1DBqwolNTfPsTCWuOGrcu5gAVFEdyVGg=";
2023-01-15 05:08:32 +00:00
};
2024-01-28 09:06:56 +00:00
vendorHash = "sha256-jI3/m1UdZMKrS3H9jPhcVAUCjc1G/ejzHi9SCTy24ak=";
2023-01-15 05:08:32 +00:00
meta = with lib; {
description = "Golang formatter that fixes long lines";
homepage = "https://github.com/segmentio/golines";
license = licenses.mit;
maintainers = with maintainers; [ meain ];
};
}