krapslog: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-16 21:36:23 +02:00 committed by Jonathan Ringer
parent 9716355b45
commit a5bff380e6

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "krapslog";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-rcLsqMegCos+v0OkdRvH9xoopE7R/njEUVteMY/6mj8=";
buildInputs = lib.optional stdenv.isDarwin libiconv;
meta = with lib; {
description = "Visualize a log file with sparklines";
homepage = "https://github.com/acj/krapslog-rs";