2022-10-29 08:13:13 +00:00
|
|
|
{ lib
|
2023-08-17 20:08:26 +00:00
|
|
|
, rustPlatform
|
2022-10-29 08:13:13 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2023-08-17 20:08:26 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2022-10-29 08:13:13 +00:00
|
|
|
pname = "tailspin";
|
2023-11-05 09:02:35 +00:00
|
|
|
version = "2.0.0";
|
2022-10-29 08:13:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bensadeh";
|
2023-08-17 20:08:26 +00:00
|
|
|
repo = "tailspin";
|
|
|
|
rev = "refs/tags/${version}";
|
2023-11-05 09:02:35 +00:00
|
|
|
hash = "sha256-NGPwdTkgzowdchUjuoJ9iVrkmAjXvyijHmUfb5cAUKY=";
|
2022-10-29 08:13:13 +00:00
|
|
|
};
|
|
|
|
|
2023-11-05 09:02:35 +00:00
|
|
|
cargoHash = "sha256-Pi8JiToF56a6zaUpGTAF6Bw8W8elSzLQimfMDua83Nk=";
|
2022-10-29 08:13:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-08-17 20:08:26 +00:00
|
|
|
description = "A log file highlighter";
|
2022-10-29 08:13:13 +00:00
|
|
|
homepage = "https://github.com/bensadeh/tailspin";
|
2023-08-17 20:08:26 +00:00
|
|
|
changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md";
|
2022-10-29 08:13:13 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
2023-11-05 09:02:35 +00:00
|
|
|
mainProgram = "tspin";
|
2022-10-29 08:13:13 +00:00
|
|
|
};
|
|
|
|
}
|