nixpkgs/pkgs/by-name/st/stu/package.nix
2024-11-22 08:34:32 -05:00

33 lines
766 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
stu,
testers,
}:
rustPlatform.buildRustPackage rec {
pname = "stu";
version = "0.6.5";
src = fetchFromGitHub {
owner = "lusingander";
repo = "stu";
rev = "v${version}";
hash = "sha256-GqeKb3Fu0MkM98AGDOEuO3zbzSHOWQFiamCSgMk4xBI=";
};
cargoHash = "sha256-fK7eHNUKAE6FykHllnIe0vNEEzeykpqvnM29KBn4l2I=";
passthru.tests.version = testers.testVersion { package = stu; };
meta = {
description = "Terminal file explorer for S3 buckets";
changelog = "https://github.com/lusingander/stu/releases/tag/v${version}";
homepage = "https://lusingander.github.io/stu/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.Nebucatnetzer ];
mainProgram = "stu";
};
}