nixpkgs/pkgs/by-name/kr/krapslog/package.nix

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

26 lines
699 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";
2024-05-29 13:17:34 +00:00
version = "0.6.0";
2021-02-20 02:40:43 +00:00
src = fetchFromGitHub {
owner = "acj";
repo = "krapslog-rs";
rev = version;
2024-05-29 13:17:34 +00:00
sha256 = "sha256-wRziLNMwLZBCn330FNC9x6loCCyuC+31Kh51ZI/j1Cc=";
2021-02-20 02:40:43 +00:00
};
2024-05-29 13:17:34 +00:00
cargoHash = "sha256-5jhEcwOdzLqzxQsEBqo4d5ecsg/vhiKuVjGYIwFzihE=";
2021-02-20 02:40:43 +00:00
2021-05-16 19:36:23 +00:00
buildInputs = lib.optional stdenv.hostPlatform.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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "krapslog";
2021-02-20 02:40:43 +00:00
};
}