-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #334 from izumin5210/izumin5210/use-aqua-on-codesp…
…aces refactor(codespaces): install tools with aqua
- Loading branch information
Showing
7 changed files
with
94 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# aqua - Declarative CLI Version Manager | ||
# https://aquaproj.github.io/ | ||
# checksum: | ||
# enabled: true | ||
# require_checksum: true | ||
# supported_envs: | ||
# - all | ||
registries: | ||
- type: standard | ||
ref: v4.159.0 # renovate: depName=aquaproj/aqua-registry | ||
packages: | ||
- name: cli/[email protected] | ||
- name: junegunn/[email protected] | ||
- name: dandavison/[email protected] | ||
- name: Wilfred/[email protected] | ||
- name: rossmacarthur/[email protected] | ||
- name: BurntSushi/[email protected] | ||
- name: sharkdp/[email protected] | ||
- name: starship/[email protected] | ||
- name: eza-community/[email protected] | ||
- name: neovim/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,7 @@ | |
pkgs.starship | ||
pkgs.tig | ||
pkgs.tree | ||
(pkgs.callPackage ./pkgs/aqua.nix { }) | ||
|
||
# fonts | ||
pkgs.hackgen-font | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ pkgs }: | ||
|
||
pkgs.stdenv.mkDerivation { | ||
name = "aqua"; | ||
src = pkgs.fetchurl { | ||
url = "https://github.com/aquaproj/aqua/releases/download/v2.27.0/aqua_darwin_arm64.tar.gz"; | ||
sha256 = "sha256-z0UcCsSqi4Q7OhOyDENLLjD8dnfo4oKQcUx1Ny/q0qs="; | ||
}; | ||
|
||
sourceRoot = "."; | ||
|
||
installPhase = '' | ||
mkdir -p $out/bin | ||
cp -r aqua $out/bin | ||
''; | ||
|
||
meta = { | ||
description = "Declarative CLI Version manager written in Go. Support Lazy Install, Registry, and continuous update with Renovate. CLI version is switched seamlessly"; | ||
homepage = "https://github.com/aquaproj/aqua"; | ||
license = pkgs.lib.licenses.mit; | ||
}; | ||
} |