1 { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-MzO6fcBlrGeZoflyFXPVIdQ+y/GkQz3yEeEbXLoDZQY=";
14 cargoSha256 = "sha256-r5UGCEMAEVIdVeBPsgBf/CMYtBPS03Joje4sNQ8XfFA=";
16 buildInputs = lib.optional stdenv.isDarwin libiconv;
19 description = "Visualize a log file with sparklines";
20 homepage = "https://github.com/acj/krapslog-rs";
21 license = with licenses; [ mit ];
22 maintainers = with maintainers; [ yanganto ];