5a8b500490
GitOrigin-RevId: 1ca6b0a0cc38dbba0441202535c92841dd39d1ae
24 lines
658 B
Nix
24 lines
658 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "krapslog";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "acj";
|
|
repo = "krapslog-rs";
|
|
rev = version;
|
|
sha256 = "sha256-Ab5bY5r0tYx3JxYRRq7i9O7WFvdi6cRMSuru/pK50y8=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-k7jsWMFU/8XogREic4GB+qYocFtiTvSzvBAcORUFe0o=";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
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 ];
|
|
};
|
|
}
|