2021-02-20 02:40:43 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "krapslog";
|
2021-04-30 16:55:57 +01:00
|
|
|
version = "0.1.3";
|
2021-02-20 02:40:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "acj";
|
|
|
|
repo = "krapslog-rs";
|
|
|
|
rev = version;
|
2021-04-30 16:55:57 +01:00
|
|
|
sha256 = "sha256-BaR72djkvaMmdBqbykezLkY81Y7iajhNPcFGYq/qv7Y=";
|
2021-02-20 02:40:43 +00:00
|
|
|
};
|
|
|
|
|
2021-04-30 16:55:57 +01:00
|
|
|
cargoSha256 = "sha256-rcLsqMegCos+v0OkdRvH9xoopE7R/njEUVteMY/6mj8=";
|
2021-02-20 02:40:43 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|