mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Update darwin configuration to use aarch64
This commit is contained in:
@@ -20,7 +20,6 @@ in {
|
||||
};
|
||||
|
||||
brews = [
|
||||
"aws-sam-cli"
|
||||
"coreutils"
|
||||
"fabianishere/personal/pam_reattach"
|
||||
"gnu-sed"
|
||||
@@ -31,18 +30,17 @@ in {
|
||||
];
|
||||
|
||||
casks = [
|
||||
"1password"
|
||||
"dbeaver-community"
|
||||
"font-fira-code-nerd-font"
|
||||
"font-hack-nerd-font"
|
||||
"lulu"
|
||||
"maccy"
|
||||
"osxfuse"
|
||||
# "osxfuse"
|
||||
"rectangle"
|
||||
"vscodium"
|
||||
];
|
||||
|
||||
taps = [
|
||||
"aws/tap"
|
||||
"homebrew/bundle"
|
||||
"homebrew/cask"
|
||||
"homebrew/cask-fonts"
|
||||
|
@@ -1,28 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "aws-connect";
|
||||
version = "1.0.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rewindio";
|
||||
repo = "aws-connect";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-xS5eRVjbjK/qzaZhNApwghNqnHGqVGWJ4hvgDu4dfDQ=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./aws-connect $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrapper script around AWS session manager connections";
|
||||
homepage = "https://github.com/rewindio/aws-connect";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@@ -1,55 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}: let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
prettycolors = super.buildPythonPackage rec {
|
||||
pname = "pretty-colors";
|
||||
version = "1.2.23";
|
||||
doCheck = false;
|
||||
src = fetchFromGitHub {
|
||||
owner = "onelivesleft";
|
||||
repo = "PrettyErrors";
|
||||
rev = "8b58260f00b0aab789e940f5ee190fa9c3c10925";
|
||||
sha256 = "sha256-ICFwaRkQ30/sml4GuzXF8TyJAg+ZXnLmKGil18KisUw=";
|
||||
};
|
||||
propagatedBuildInputs = [py.pkgs.colorama];
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
with py.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "aws-role-play";
|
||||
version = "419e0de612554bfce467da4896e1abcadb78c406";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rewindio";
|
||||
repo = "aws-role-play";
|
||||
rev = version;
|
||||
hash = "sha256-o+u/ixL48J2WMWFRkOlWGvXMVwn+BrofzlspOVwmnCo=";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [poetry];
|
||||
|
||||
propagatedBuildInputs = with py.pkgs; [
|
||||
boto3
|
||||
click
|
||||
colorama
|
||||
prettycolors
|
||||
];
|
||||
|
||||
passthru.python3 = python3;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.rewind.com/";
|
||||
description = "A CLI tool that makes assuming IAM roles and exporting temporary credentials easier";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@@ -6,7 +6,7 @@
|
||||
if [[ $# -eq 1 ]]; then
|
||||
selected=$1
|
||||
else
|
||||
selected=$(find ~/src/github.com/davegallant ~/src/github.com/rewindio -mindepth 1 -maxdepth 1 -type d | fzf --exact)
|
||||
selected=$(find ~/src/github.com/davegallant -mindepth 1 -maxdepth 1 -type d | fzf --exact)
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
|
Reference in New Issue
Block a user