2019-08-26 02:29:21 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gofumpt";
|
2019-11-15 00:38:40 +01:00
|
|
|
version = "2019-11-11";
|
2019-08-26 02:29:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvdan";
|
|
|
|
repo = pname;
|
2019-11-15 00:38:40 +01:00
|
|
|
rev = "eb442649d62000da5d11671f3beb1afa1b746fd7";
|
|
|
|
sha256 = "1cw9mmavxz8gxzzwsllvf5lwb2wwi19jbc7hcwxsi4ywp7a84gh0";
|
2019-08-26 02:29:21 +02:00
|
|
|
};
|
|
|
|
|
2019-11-15 00:38:40 +01:00
|
|
|
modSha256 = "1ladpxhr90awnms2qmlm2lz91wyh92fl3rqbfr54qngrkpkpbhr2";
|
2019-08-26 02:29:21 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A stricter gofmt";
|
|
|
|
homepage = https://github.com/mvdan/gofumpt;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
};
|
|
|
|
}
|