2019-08-26 00:29:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gofumpt";
|
2022-03-22 06:36:51 +00:00
|
|
|
version = "0.3.1";
|
2019-08-26 00:29:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvdan";
|
|
|
|
repo = pname;
|
2021-01-13 21:17:31 +00:00
|
|
|
rev = "v${version}";
|
2022-03-22 06:36:51 +00:00
|
|
|
sha256 = "sha256-uXRYVLFDyRZ83mth8Fh+MG9fNv2lUfE3BTljM9v9rjI=";
|
2019-08-26 00:29:21 +00:00
|
|
|
};
|
|
|
|
|
2022-03-22 06:36:51 +00:00
|
|
|
vendorSha256 = "sha256-Il1E1yOejLEdKRRMqelGeJbHRjx4qFymf7N98BEdFzg=";
|
2019-08-26 00:29:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A stricter gofmt";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/mvdan/gofumpt";
|
2019-08-26 00:29:21 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|