2022-10-06 18:32:54 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fblog";
|
2024-10-09 16:51:18 +00:00
|
|
|
version = "4.13.0";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brocode";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-10-09 16:51:18 +00:00
|
|
|
hash = "sha256-MfE1IwJ8n9wFrs3l33h3aeG8t8SVxRG4VZGpgVrjTW8=";
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
|
2024-10-09 16:51:18 +00:00
|
|
|
cargoHash = "sha256-6joXL/eHipyBVNFz0zSH2UldZ1jYUFeOxB1weNAA9b4=";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small command-line JSON log viewer";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "fblog";
|
2022-10-06 18:32:54 +00:00
|
|
|
homepage = "https://github.com/brocode/fblog";
|
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|