2022-10-06 18:32:54 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "hunt";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "2.1.0";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LyonSyonII";
|
|
|
|
repo = "hunt-rs";
|
|
|
|
rev = "v${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
sha256 = "sha256-noqsxgx2FuSp3ekaaopLUPhq4YYBwM8uf4DzML5xLAE=";
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
cargoHash = "sha256-JErhe2Hu2Qpb5QoEurdy/WSShjkiV/Fai4/lVkisrEQ=";
|
2022-10-06 18:32:54 +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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "hunt";
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
}
|