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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
687 B
Nix
Raw Normal View History

2022-10-29 08:13:13 +00:00
{ lib
, rustPlatform
2022-10-29 08:13:13 +00:00
, fetchFromGitHub
}:
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";
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; {
description = "A log file highlighter";
2022-10-29 08:13:13 +00:00
homepage = "https://github.com/bensadeh/tailspin";
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
};
}