parent
f26d770a7b
commit
f253fc13ec
@ -2,17 +2,18 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "shfmt";
|
pname = "shfmt";
|
||||||
version = "3.1.1";
|
version = "3.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mvdan";
|
owner = "mvdan";
|
||||||
repo = "sh";
|
repo = "sh";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0zlk1jjk65jwd9cx0xarz4yg2r2h86kd5g00gcnsav6dp6rx3aw8";
|
sha256 = "03zgi0rlra3gz8cbqwmhpjxsg5048anfc6ccd2w50fjhx6farsnv";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "1jq2x4yxshsy4ahp7nrry8dc9cyjj46mljs447rq57sgix4ndpq8";
|
vendorSha256 = "1jq2x4yxshsy4ahp7nrry8dc9cyjj46mljs447rq57sgix4ndpq8";
|
||||||
subPackages = ["cmd/shfmt"];
|
|
||||||
|
subPackages = [ "cmd/shfmt" ];
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user