My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/bunyan-rs/default.nix

26 lines
695 B

{ rustPlatform
, fetchFromGitHub
, lib
}:
rustPlatform.buildRustPackage rec {
pname = "bunyan-rs";
version = "0.1.7";
src = fetchFromGitHub {
owner = "LukeMathWalker";
repo = "bunyan";
rev = "v${version}";
sha256 = "sha256-NGM8ryOy5bxF53Ak2/UDCf47MBlx/t6wcPlt+K8qvkg=";
};
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 ];
mainProgram = "bunyan";
};
}