2021-05-19 15:09:14 +02:00
|
|
|
{ rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bunyan-rs";
|
2021-11-05 23:52:42 +01:00
|
|
|
version = "0.1.6";
|
2021-05-19 15:09:14 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LukeMathWalker";
|
|
|
|
repo = "bunyan";
|
|
|
|
rev = "v${version}";
|
2021-11-05 23:52:42 +01:00
|
|
|
sha256 = "sha256-oMk17twYfN8BwSfdG59uPOUoHNh7WLUEgIDoWTG15Yw=";
|
2021-05-19 15:09:14 +02:00
|
|
|
};
|
|
|
|
|
2021-11-05 23:52:42 +01:00
|
|
|
cargoSha256 = "sha256-nzUFdpRdIVExV8OBdk/LEefj6O/L7yhj4eCpqU5WAJg=";
|
2021-05-19 15:09:14 +02:00
|
|
|
|
|
|
|
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 21:14:49 +02:00
|
|
|
mainProgram = "bunyan";
|
2021-05-19 15:09:14 +02:00
|
|
|
};
|
|
|
|
}
|