27 lines
672 B
Nix
27 lines
672 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tailspin";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bensadeh";
|
|
repo = "tailspin";
|
|
rev = version;
|
|
hash = "sha256-ggh0y50yzqWQbjdP/weboEmo4CpfAGZmtt1WWLokpZ8=";
|
|
};
|
|
|
|
cargoHash = "sha256-R67bHDGFxCStKKHTR820r0CjbrqjQ6evtnBMaqCDRYM=";
|
|
|
|
meta = with lib; {
|
|
description = "A log file highlighter";
|
|
homepage = "https://github.com/bensadeh/tailspin";
|
|
changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
mainProgram = "tspin";
|
|
};
|
|
}
|