mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
24 lines
568 B
Nix
24 lines
568 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gofumpt";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mvdan";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-uXRYVLFDyRZ83mth8Fh+MG9fNv2lUfE3BTljM9v9rjI=";
|
|
};
|
|
|
|
vendorHash = "sha256-Il1E1yOejLEdKRRMqelGeJbHRjx4qFymf7N98BEdFzg=";
|
|
|
|
meta = with lib; {
|
|
description = "A stricter gofmt";
|
|
homepage = "https://github.com/mvdan/gofumpt";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
mainProgram = "gofumpt";
|
|
};
|
|
}
|