krapslog: fix darwin build
This commit is contained in:
parent
9716355b45
commit
a5bff380e6
@ -1,4 +1,4 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "krapslog";
|
pname = "krapslog";
|
||||||
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-rcLsqMegCos+v0OkdRvH9xoopE7R/njEUVteMY/6mj8=";
|
cargoSha256 = "sha256-rcLsqMegCos+v0OkdRvH9xoopE7R/njEUVteMY/6mj8=";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Visualize a log file with sparklines";
|
description = "Visualize a log file with sparklines";
|
||||||
homepage = "https://github.com/acj/krapslog-rs";
|
homepage = "https://github.com/acj/krapslog-rs";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user