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