2023-08-26 03:07:42 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "slingshot";
|
2023-09-03 19:37:59 +00:00
|
|
|
version = "0.3.0";
|
2023-08-26 03:07:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "caio-ishikawa";
|
|
|
|
repo = "slingshot";
|
|
|
|
rev = "v${version}";
|
2023-09-03 19:37:59 +00:00
|
|
|
hash = "sha256-XI6uf54sEJ0htfY43aF8/X1/OF9m6peHUGDS+2nK3xA=";
|
2023-08-26 03:07:42 +00:00
|
|
|
};
|
|
|
|
|
2023-09-03 19:37:59 +00:00
|
|
|
cargoHash = "sha256-NZyO6oXmgTUszp2Vc9iVAnCvM78/BJ8IfpeTrsOMvlo=";
|
2023-08-26 03:07:42 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight command line tool to quickly navigate across folders";
|
|
|
|
homepage = "https://github.com/caio-ishikawa/slingshot";
|
|
|
|
changelog = "https://github.com/caio-ishikawa/slingshot/releases/tag/${src.rev}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
mainProgram = "slingshot";
|
|
|
|
};
|
|
|
|
}
|