2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
2023-08-22 20:05:09 +00:00
|
|
|
, rustPlatform
|
2022-11-21 17:40:18 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2022-11-21 17:40:18 +00:00
|
|
|
pname = "tailspin";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.0.1";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bensadeh";
|
2023-08-22 20:05:09 +00:00
|
|
|
repo = "tailspin";
|
2023-11-16 04:20:00 +00:00
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-Aqm7Nt+rAu8A2216JCuID1eIpWSdKpoKjILYovr7bYw=";
|
2022-11-21 17:40:18 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
cargoHash = "sha256-uTUowYoLEywGNzPyxq53Si5GSrh/F9kUFIDjw/wfdAQ=";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Log file highlighter";
|
2022-11-21 17:40:18 +00:00
|
|
|
homepage = "https://github.com/bensadeh/tailspin";
|
2023-08-22 20:05:09 +00:00
|
|
|
changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md";
|
2022-11-21 17:40:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
2023-11-16 04:20:00 +00:00
|
|
|
mainProgram = "tspin";
|
2022-11-21 17:40:18 +00:00
|
|
|
};
|
|
|
|
}
|