2022-10-01 00:43:02 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fblog";
|
2024-11-14 11:00:49 +00:00
|
|
|
version = "4.13.1";
|
2022-10-01 00:43:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brocode";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-11-14 11:00:49 +00:00
|
|
|
hash = "sha256-YOHLw8YCgOGB1Nn2tD+EnicKd/tiMk07OWv+49btbpw=";
|
2022-10-01 00:43:02 +00:00
|
|
|
};
|
|
|
|
|
2024-11-14 11:00:49 +00:00
|
|
|
cargoHash = "sha256-+rhrvZ8EOYAFSvAvGyUwlDCWXVqgXPdmugBbrn12yLg=";
|
2022-10-01 00:43:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Small command-line JSON log viewer";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "fblog";
|
2022-10-01 00:43:02 +00:00
|
|
|
homepage = "https://github.com/brocode/fblog";
|
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|