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