diff options
author | netcrns <jason.wing@gmx.de> | 2021-05-19 15:09:14 +0200 |
---|---|---|
committer | netcrns <jason.wing@gmx.de> | 2021-05-22 18:55:33 +0200 |
commit | 119a3e6a351d71da38bead931d73355a368eca5d (patch) | |
tree | 83598c65e116509c3b21680cd1fae2a568e0c4e5 /pkgs/development/tools/bunyan-rs | |
parent | e392df43c9f302d4a0892caaadcad3cd693edf9e (diff) |
bunyan-rs: init at 0.1.2
Update pkgs/development/tools/bunyan-rs/default.nix
Diffstat (limited to 'pkgs/development/tools/bunyan-rs')
-rw-r--r-- | pkgs/development/tools/bunyan-rs/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/bunyan-rs/default.nix b/pkgs/development/tools/bunyan-rs/default.nix new file mode 100644 index 0000000000000..12ced94c81b7b --- /dev/null +++ b/pkgs/development/tools/bunyan-rs/default.nix @@ -0,0 +1,25 @@ +{ 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 ]; + }; +} |