1 { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-wRziLNMwLZBCn330FNC9x6loCCyuC+31Kh51ZI/j1Cc=";
14 cargoHash = "sha256-5jhEcwOdzLqzxQsEBqo4d5ecsg/vhiKuVjGYIwFzihE=";
16 buildInputs = lib.optional stdenv.hostPlatform.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 ];
23 mainProgram = "krapslog";