Merge pull request #84594 from zowoq/shfmt

shfmt: 3.0.2 -> 3.1.0
This commit is contained in:
Mario Rodas 2020-04-07 20:42:53 -05:00 committed by GitHub
commit bfd6cfb713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,18 +2,20 @@
buildGoModule rec {
pname = "shfmt";
version = "3.0.2";
version = "3.1.0";
src = fetchFromGitHub {
owner = "mvdan";
repo = "sh";
rev = "v${version}";
sha256 = "1q0gazh87y7sl5sl5m046a83d64aas9xnbg2d1d1h2vwcqdaccp2";
sha256 = "1k0bq4b4rv6wrh24jvcnpg1mfqrzqhl90zg4zibxzv3zkhjdskzh";
};
modSha256 = "1ll2cxhgf8hh19wzdykgc81c4yfcp8bzmfaif08nvvb63rhjdb5y";
modSha256 = "080k8d5rp8kyg0x7vjxm758b9ya9z336yd4rcqws7yhqawxiv55z";
subPackages = ["cmd/shfmt"];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with lib; {
homepage = "https://github.com/mvdan/sh";
description = "A shell parser and formatter";