add stu s3 tui browser

This commit is contained in:
Noah Masur 2024-07-10 15:47:38 -04:00
parent 4ca25aa194
commit 6c024107ee
No known key found for this signature in database
4 changed files with 42 additions and 0 deletions

View File

@ -603,6 +603,7 @@
"nvim-treesitter-src": "nvim-treesitter-src",
"ren": "ren",
"rep": "rep",
"stu": "stu",
"telescope-nvim-src": "telescope-nvim-src",
"telescope-project-nvim-src": "telescope-project-nvim-src",
"toggleterm-nvim-src": "toggleterm-nvim-src",
@ -618,6 +619,22 @@
"zenyd-mpv-scripts": "zenyd-mpv-scripts"
}
},
"stu": {
"flake": false,
"locked": {
"lastModified": 1720424134,
"narHash": "sha256-c6nLQOhwztwnUfKLx69Le9pCHE0GtruqKMnvYpGyr+0=",
"owner": "lusingander",
"repo": "stu",
"rev": "279edc8d63c04b42773434bf8c6f2744a66d71a8",
"type": "github"
},
"original": {
"owner": "lusingander",
"repo": "stu",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,

View File

@ -178,6 +178,12 @@
flake = false;
};
# Stu - TUI for S3
stu = {
url = "github:lusingander/stu";
flake = false;
};
# Nextcloud Apps
nextcloud-news = {
# https://github.com/nextcloud/news/releases
@ -253,6 +259,7 @@
(import ./overlays/betterlockscreen.nix)
(import ./overlays/gh-collaborators.nix)
(import ./overlays/ren-rep.nix inputs)
(import ./overlays/stu.nix inputs)
];
# System types to support.

View File

@ -27,6 +27,7 @@
pkgs.awscli2
pkgs.ssm-session-manager-plugin
pkgs.awslogs
pkgs.stu # TUI for AWS S3
pkgs.google-cloud-sdk
pkgs.vault-bin
pkgs.consul

17
overlays/stu.nix Normal file
View File

@ -0,0 +1,17 @@
inputs: _final: prev: {
stu = prev.rustPlatform.buildRustPackage {
pname = "stu";
version = "0.5.0";
src = inputs.stu;
cargoHash = "sha256-gUolS7HXkTddxDWDGir4YC+2tJjgB/CCQC49SSRaR6U=";
buildInputs =
if prev.stdenv.isDarwin then
[
prev.darwin.apple_sdk.frameworks.CoreGraphics
prev.darwin.apple_sdk.frameworks.AppKit
]
else
[ ];
};
}