depot/third_party/nixpkgs/pkgs/tools/misc/tailspin/default.nix

28 lines
672 B
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "tailspin";
version = "2.1.0";
src = fetchFromGitHub {
owner = "bensadeh";
repo = "tailspin";
rev = version;
hash = "sha256-WsQpMmFTlAPg+9uEecMKfpys29cQ642IZ8yvsPxmCfo=";
};
cargoHash = "sha256-sttQ8fGRGdq7nDiG3/z/YEg2NA+miTwahGNv3yNnnds=";
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";
};
}