From 0fba99dedf3620c83adf376653448397028b6455 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Sun, 7 Apr 2019 15:26:50 +0200 Subject: [PATCH] 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 --- pkgs/tools/text/shfmt/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/text/shfmt/default.nix b/pkgs/tools/text/shfmt/default.nix index 2ab568ba8416..12b57cb82dfd 100644 --- a/pkgs/tools/text/shfmt/default.nix +++ b/pkgs/tools/text/shfmt/default.nix @@ -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; {