about summary refs log tree commit diff
path: root/pkgs/tools/misc/lipl/default.nix
blob: 8d9d294f3edd78f3fa95f9c5c4c3e85adba58e16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "lipl";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "yxdunc";
    repo = "lipl";
    rev = "v${version}";
    hash = "sha256-ZeYz9g06vMsOk3YDmy0I+8e6BtLfweXqVH5uRt+mtes=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "cmd_lib-0.7.8" = "sha256-FyJZkxhKwHyGEmeLZfcvLe1D6h7XY5tvsHbANQk+D+4=";
    };
  };

  meta = with lib; {
    description = "Command line tool to analyse the output over time of custom shell commands";
    homepage = "https://github.com/yxdunc/lipl";
    license = licenses.mit;
    maintainers = with maintainers; [ figsoda ];
    mainProgram = "lipl";
  };
}