nixpkgs/pkgs/development/tools/bunyan-rs/default.nix

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

27 lines
695 B
Nix
Raw Normal View History

{ rustPlatform
, fetchFromGitHub
, lib
}:
rustPlatform.buildRustPackage rec {
pname = "bunyan-rs";
2021-12-24 02:36:46 +00:00
version = "0.1.7";
src = fetchFromGitHub {
owner = "LukeMathWalker";
repo = "bunyan";
rev = "v${version}";
2021-12-24 02:36:46 +00:00
sha256 = "sha256-NGM8ryOy5bxF53Ak2/UDCf47MBlx/t6wcPlt+K8qvkg=";
};
2021-12-24 02:36:46 +00:00
cargoSha256 = "sha256-kzzOEHil7mW+fsstgr4/N4i8c9rzx4TzqGfYDgkzjh0=";
meta = with lib; {
description = "A CLI to pretty print logs in bunyan format (Rust port of the original JavaScript bunyan CLI)";
homepage = "https://github.com/LukeMathWalker/bunyan";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ netcrns ];
2021-10-08 19:14:49 +00:00
mainProgram = "bunyan";
};
}