···1-{ buildGoPackage, lib, fetchFromGitHub }:
2-buildGoPackage rec {
3 pname = "tgswitch";
4 version = "0.5.389";
5···10 sha256 = "sha256-6hErfI7LEJFgOoJR8IF9jTSBwqbQYeGiwdeJShqxVQ0=";
11 };
1213- goPackagePath = "github.com/warrensbox/tgswitch";
00000001415 meta = with lib; {
16 description = "A command line tool to switch between different versions of terragrunt";
···19 maintainers = with maintainers; [ psibi ];
20 };
21}
0
···1+{ buildGoModule, lib, fetchFromGitHub }:
2+buildGoModule rec {
3 pname = "tgswitch";
4 version = "0.5.389";
5···10 sha256 = "sha256-6hErfI7LEJFgOoJR8IF9jTSBwqbQYeGiwdeJShqxVQ0=";
11 };
1213+ vendorSha256 = null;
14+15+ ldflags = [ "-s" "-w" ];
16+17+ # There are many modifications need to be done to make tests run. For example:
18+ # 1. Network access
19+ # 2. Operation on `/var/empty` not permitted on macOS
20+ doCheck= false;
2122 meta = with lib; {
23 description = "A command line tool to switch between different versions of terragrunt";
···26 maintainers = with maintainers; [ psibi ];
27 };
28}
29+