2022-09-30 16:16:09 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "hunt";
|
2023-06-03 11:50:54 +00:00
|
|
|
version = "2.0.0";
|
2022-09-30 16:16:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LyonSyonII";
|
|
|
|
repo = "hunt-rs";
|
|
|
|
rev = "v${version}";
|
2023-06-03 11:50:54 +00:00
|
|
|
sha256 = "sha256-TwxNVT2x9Y0jnLXiIquf/bQ31B+2VwFfh9EFbJQHpt4=";
|
2022-09-30 16:16:09 +00:00
|
|
|
};
|
|
|
|
|
2023-06-03 11:50:54 +00:00
|
|
|
cargoHash = "sha256-GU3AXZJ8yGFnj0SXRezS/YI6aS/lJowwo+GBBv5wNik=";
|
2022-09-30 16:16:09 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simplified Find command made with Rust";
|
|
|
|
homepage = "https://github.com/LyonSyonII/hunt";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "hunt";
|
2022-09-30 16:16:09 +00:00
|
|
|
};
|
|
|
|
}
|