nixpkgs/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
656 B
Nix
Raw Normal View History

2021-05-16 19:36:23 +00:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
2021-02-20 02:40:43 +00:00
rustPlatform.buildRustPackage rec {
pname = "krapslog";
2023-04-14 03:26:54 +00:00
version = "0.5.1";
2021-02-20 02:40:43 +00:00
src = fetchFromGitHub {
owner = "acj";
repo = "krapslog-rs";
rev = version;
2023-04-14 03:26:54 +00:00
sha256 = "sha256-zBtoKU9OHo1hyCgyQVAb3fsEW/IHwISht8VAss7LLq4=";
2021-02-20 02:40:43 +00:00
};
2023-04-14 03:26:54 +00:00
cargoHash = "sha256-gZr79VmvZrGglF6aC6j2c45ueJytgUslzBT5fyM3/V8=";
2021-02-20 02:40:43 +00:00
2021-05-16 19:36:23 +00:00
buildInputs = lib.optional stdenv.isDarwin libiconv;
2021-02-20 02:40:43 +00: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 ];
};
}