2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gofumpt";
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "2020-10-27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvdan";
|
|
|
|
repo = pname;
|
2020-11-03 02:18:15 +00:00
|
|
|
rev = "85d5401eb0f699d87b0d6c949dd4c0d5fb23f2e0";
|
|
|
|
sha256 = "0n72d7p4y89kfilcdx3qb63qy6xm8dyp6q8s8954wrkm2wlhkwiy";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
vendorSha256 = "1s546hp4ngzqvfx7dbd43k7b94z0mvndgdkndh4ypkkl3rpd9kkz";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A stricter gofmt";
|
|
|
|
homepage = "https://github.com/mvdan/gofumpt";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|