shfmt: 2.6.4 -> 3.0.1 (#77537)
This commit is contained in:
parent
353ea7f3eb
commit
e5672143d8
|
@ -1,19 +1,19 @@
|
||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "shfmt";
|
pname = "shfmt";
|
||||||
version = "2.6.4";
|
version = "3.0.1";
|
||||||
|
|
||||||
goPackagePath = "mvdan.cc/sh";
|
|
||||||
subPackages = ["cmd/shfmt"];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mvdan";
|
owner = "mvdan";
|
||||||
repo = "sh";
|
repo = "sh";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1jifac0fi0sz6wzdgvk6s9xwpkdng2hj63ldbaral8n2j9km17hh";
|
sha256 = "1y6n2xi8m579xksnnsdzb4zvcvij48kywjfqzp7qm43ni8g7w9a8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
modSha256 = "1ll2cxhgf8hh19wzdykgc81c4yfcp8bzmfaif08nvvb63rhjdb5y";
|
||||||
|
subPackages = ["cmd/shfmt"];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/mvdan/sh;
|
homepage = https://github.com/mvdan/sh;
|
||||||
description = "A shell parser and formatter";
|
description = "A shell parser and formatter";
|
||||||
|
|
Loading…
Reference in a new issue