3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/gofumpt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
561 B
Nix
Raw Normal View History

2019-08-26 01:29:21 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gofumpt";
2022-02-23 06:33:42 +00:00
version = "0.3.0";
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}";
2022-02-23 06:33:42 +00:00
sha256 = "sha256-S6IF/MtNCkhPHHdaQJyT78j2z4xdf4z/xLfXDmCWR2Y=";
2019-08-26 01:29:21 +01:00
};
2022-02-23 06:33:42 +00:00
vendorSha256 = "sha256-LhiCxpjySEezhcgICfgD+mABd1QXyZn3uI1Fj+eWiyo=";
2019-08-26 01:29:21 +01:00
doCheck = false;
2019-08-26 01:29:21 +01:00
meta = with lib; {
description = "A stricter gofmt";
homepage = "https://github.com/mvdan/gofumpt";
2019-08-26 01:29:21 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ rvolosatovs ];
};
}