mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
119a3e6a35
Update pkgs/development/tools/bunyan-rs/default.nix
26 lines
667 B
Nix
26 lines
667 B
Nix
{ rustPlatform
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "bunyan-rs";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LukeMathWalker";
|
|
repo = "bunyan";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Rj0VoJMcl8UBuVNu88FwTNF1GBx8IEXxwLL8sGz9kVM=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-UZAiXLbRhr2J7QFf7x+JbEjc6p2AoVHYMgyARuwaB7E=";
|
|
|
|
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 ];
|
|
};
|
|
}
|