diff options
author | Sibi Prabakaran <sibi@psibi.in> | 2021-11-18 22:29:14 +0530 |
---|---|---|
committer | Sibi Prabakaran <sibi@psibi.in> | 2021-11-18 22:29:14 +0530 |
commit | a6abef6ed259cf2090b06470a6ad3d139e52417d (patch) | |
tree | 2caeb79422719d4c7eacc7e7c3c3aafb9f7d24d0 /pkgs/applications/networking/cluster | |
parent | 3b0f2374a6901907f20e5d65c0d544d2136f60cd (diff) |
tgswitch: init at 0.5.378
Add tgswitch which allows to easily manage different terragrunt versions for different projects. Tested it locally on a NixOS machine: ``` ❯ tgswitch --help Usage: tgswitch [-hv] [-b value] [parameters ...] -b, --bin=value Custom binary path. For example: /Users/username/bin/terragrunt -h, --help displays help message -v, --version displays the version of tgswitch Supply the terragrunt version as an argument, or choose from a menu ```
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/tgswitch/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/tgswitch/default.nix b/pkgs/applications/networking/cluster/tgswitch/default.nix new file mode 100644 index 0000000000000..9a1652f25d365 --- /dev/null +++ b/pkgs/applications/networking/cluster/tgswitch/default.nix @@ -0,0 +1,21 @@ +{ buildGoPackage, lib, fetchFromGitHub }: +buildGoPackage rec { + pname = "tgswitch"; + version = "0.5.378"; + + src = fetchFromGitHub { + owner = "warrensbox"; + repo = "tgswitch"; + rev = version; + sha256 = "0q2aqh75acbpkmvkws0rl3d5dzq3sisy637c0x6cnc88h34g3n3i"; + }; + + goPackagePath = "github.com/warrensbox/tgswitch"; + + meta = with lib; { + description = "A command line tool to switch between different versions of terragrunt"; + homepage = "https://github.com/warrensbox/tgswitch"; + license = licenses.mit; + maintainers = with maintainers; [ psibi ]; + }; +} |