nixpkgs-suyu/pkgs/tools/misc/krapslog/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
658 B
Nix
Raw Normal View History

2021-05-16 21:36:23 +02:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
2021-02-20 03:40:43 +01:00
rustPlatform.buildRustPackage rec {
pname = "krapslog";
2022-02-18 13:50:09 +01:00
version = "0.4.0";
2021-02-20 03:40:43 +01:00
src = fetchFromGitHub {
owner = "acj";
repo = "krapslog-rs";
rev = version;
2022-02-18 13:50:09 +01:00
sha256 = "sha256-ETP0BvtfMHznEbM0Vu/gMoRvXn4y2XcXw6CoU60A+Cg=";
2021-02-20 03:40:43 +01:00
};
2022-02-18 13:50:09 +01:00
cargoSha256 = "sha256-ioD0V1S/kPF5etey04Xz1Iz/jDpyunx9PtpWKdwk21g=";
2021-02-20 03:40:43 +01:00
2021-05-16 21:36:23 +02:00
buildInputs = lib.optional stdenv.isDarwin libiconv;
2021-02-20 03:40:43 +01:00
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 ];
};
}