nixpkgs/pkgs/tools/misc/tailspin/default.nix
2024-10-19 05:51:47 +00:00

28 lines
670 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "tailspin";
version = "4.0.0";
src = fetchFromGitHub {
owner = "bensadeh";
repo = "tailspin";
rev = version;
hash = "sha256-5VbxQDK69If5N8EiS8sIKNqHkCAfquOz8nUS7ynp+nA=";
};
cargoHash = "sha256-ohfza2ti7Ar/9TV/WoTL5g6CPaONrxtr7nW0qmLdB/8=";
meta = with lib; {
description = "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";
};
}