mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +00:00
33 lines
766 B
Nix
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";
|
|
};
|
|
}
|