diff options
author | Antonio Yang <yanganto@gmail.com> | 2021-02-20 10:40:43 +0800 |
---|---|---|
committer | Antonio Yang <yanganto@gmail.com> | 2021-02-20 21:38:58 +0800 |
commit | 39f824d1d627682df2ba5552124f3d51e98036a3 (patch) | |
tree | 3e51b0e42da07cd76e19d457e57164833c09c025 /pkgs/tools/misc | |
parent | 74abbbff5e732f24799179dda0b44254c33cc604 (diff) |
krapslog: init at 0.1.2
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/krapslog/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/misc/krapslog/default.nix b/pkgs/tools/misc/krapslog/default.nix new file mode 100644 index 0000000000000..4574d6c3534a3 --- /dev/null +++ b/pkgs/tools/misc/krapslog/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "krapslog"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "acj"; + repo = "krapslog-rs"; + rev = version; + sha256 = "1yllvy3z3115aqxhnjn9rq2z67rgf2w53naygnl6ixpjhpafcr3k"; + }; + + cargoSha256 = "05gvl6yiyibcdscdf9a6k28xizdr5kfqbhynfbjny2hpqqjmnxzl"; + + meta = with lib; { + description = "Visualize a log file with sparklines"; + homepage = "https://github.com/acj/krapslog-rs"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ yanganto ]; + }; +} |