2021-05-19 13:09:14 +00:00
|
|
|
{ rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bunyan-rs";
|
2022-11-28 16:10:08 +00:00
|
|
|
version = "0.1.9";
|
2021-05-19 13:09:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LukeMathWalker";
|
|
|
|
repo = "bunyan";
|
|
|
|
rev = "v${version}";
|
2022-11-28 16:10:08 +00:00
|
|
|
sha256 = "sha256-dqhZIwxWBMXS2RgE8YynYrESVyAOIJ9ujAKcp2tDhvA=";
|
2021-05-19 13:09:14 +00:00
|
|
|
};
|
|
|
|
|
2022-11-28 16:10:08 +00:00
|
|
|
cargoSha256 = "sha256-sQ6f8BHGsPFPchFDjNlZimnu9i99SGYf5bYfM1/2Gac=";
|
2021-05-19 13:09:14 +00: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 19:14:49 +00:00
|
|
|
mainProgram = "bunyan";
|
2021-05-19 13:09:14 +00:00
|
|
|
};
|
|
|
|
}
|