mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
shfmt: 3.0.1 -> 3.0.2 (#80842)
https://github.com/mvdan/sh/releases/tag/v3.0.2
This commit is contained in:
parent
83a4705f49
commit
d4879a6962
|
@ -1,21 +1,21 @@
|
||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "shfmt";
|
pname = "shfmt";
|
||||||
version = "3.0.1";
|
version = "3.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mvdan";
|
owner = "mvdan";
|
||||||
repo = "sh";
|
repo = "sh";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1y6n2xi8m579xksnnsdzb4zvcvij48kywjfqzp7qm43ni8g7w9a8";
|
sha256 = "1q0gazh87y7sl5sl5m046a83d64aas9xnbg2d1d1h2vwcqdaccp2";
|
||||||
};
|
};
|
||||||
|
|
||||||
modSha256 = "1ll2cxhgf8hh19wzdykgc81c4yfcp8bzmfaif08nvvb63rhjdb5y";
|
modSha256 = "1ll2cxhgf8hh19wzdykgc81c4yfcp8bzmfaif08nvvb63rhjdb5y";
|
||||||
subPackages = ["cmd/shfmt"];
|
subPackages = ["cmd/shfmt"];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with 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";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
shfmt formats shell programs. It can use tabs or any number of spaces to indent.
|
shfmt formats shell programs. It can use tabs or any number of spaces to indent.
|
||||||
|
|
Loading…
Reference in a new issue