shfmt: 1.1.0 -> 2.6.4 (#59113)

and stop shipping the "gosh" binary with shfmt, make a separate package
if you want to use that
This commit is contained in:
zimbatm 2019-04-07 15:26:50 +02:00 committed by GitHub
parent cf7b111998
commit 0fba99dedf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,16 @@
buildGoPackage rec {
name = "shfmt-${version}";
version = "1.1.0";
rev = "v${version}";
version = "2.6.4";
goPackagePath = "github.com/mvdan/sh";
goPackagePath = "mvdan.cc/sh";
subPackages = ["cmd/shfmt"];
src = fetchFromGitHub {
owner = "mvdan";
repo = "sh";
inherit rev;
sha256 = "0h1qy27z6j1cgkk3hkvl7w3wjqc5flgn92r3j6frn8k2wzwj7zhz";
rev = "v${version}";
sha256 = "1jifac0fi0sz6wzdgvk6s9xwpkdng2hj63ldbaral8n2j9km17hh";
};
meta = with stdenv.lib; {