nixpkgs/pkgs/development/tools/fblog/default.nix

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

23 lines
572 B
Nix
Raw Normal View History

2022-10-01 00:43:02 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "fblog";
2022-11-11 14:17:22 +00:00
version = "4.2.0";
2022-10-01 00:43:02 +00:00
src = fetchFromGitHub {
owner = "brocode";
repo = pname;
rev = "v${version}";
2022-11-11 14:17:22 +00:00
sha256 = "sha256-A5/TwISGsk9L0Z/ZF9Z/fxiMG+rcPgtAr2BNVJ+1Xfo=";
2022-10-01 00:43:02 +00:00
};
2022-11-11 14:17:22 +00:00
cargoSha256 = "sha256-BrhYHUx28Sb6eNU3nTMlMewtokyY6+I5ww+bBVshQqk=";
2022-10-01 00:43:02 +00:00
meta = with lib; {
description = "A small command-line JSON log viewer";
homepage = "https://github.com/brocode/fblog";
license = licenses.wtfpl;
maintainers = with maintainers; [ figsoda ];
};
}