2022-10-29 08:13:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tailspin";
|
2023-03-02 21:56:37 +00:00
|
|
|
version = "0.1.1";
|
2022-10-29 08:13:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bensadeh";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-03-02 21:56:37 +00:00
|
|
|
sha256 = "sha256-f9VfOcLOWJ4yr/CS0lqaqiaTfzOgdoI9CaS70AMNdsc=";
|
2022-10-29 08:13:13 +00:00
|
|
|
};
|
|
|
|
|
2023-03-02 21:56:37 +00:00
|
|
|
vendorHash = "sha256-gn7/pFw7JEhkkd/PBP4jLUKb5NBaRE/rb049Ic/Bu7A=";
|
2022-10-29 08:13:13 +00:00
|
|
|
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A log file highlighter and a drop-in replacement for `tail -f`";
|
|
|
|
homepage = "https://github.com/bensadeh/tailspin";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
|
|
mainProgram = "spin";
|
|
|
|
};
|
|
|
|
}
|