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