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";
2022-11-28 19:10:08 +03:00
version = "0.1.9";
src = fetchFromGitHub {
owner = "LukeMathWalker";
repo = "bunyan";
rev = "v${version}";
2022-11-28 19:10:08 +03:00
sha256 = "sha256-dqhZIwxWBMXS2RgE8YynYrESVyAOIJ9ujAKcp2tDhvA=";
};
2022-11-28 19:10:08 +03:00
cargoSha256 = "sha256-sQ6f8BHGsPFPchFDjNlZimnu9i99SGYf5bYfM1/2Gac=";
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 22:14:49 +03:00
mainProgram = "bunyan";
};
}