8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
24 lines
658 B
Nix
24 lines
658 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "krapslog";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "acj";
|
|
repo = "krapslog-rs";
|
|
rev = version;
|
|
sha256 = "sha256-ETP0BvtfMHznEbM0Vu/gMoRvXn4y2XcXw6CoU60A+Cg=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-ioD0V1S/kPF5etey04Xz1Iz/jDpyunx9PtpWKdwk21g=";
|
|
|
|
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 ];
|
|
};
|
|
}
|