summary refs log tree commit diff
path: root/pkgs/tools/misc/shell-hist/default.nix
blob: 19f69655bbf9d8b23c1dd7e0d9e7d0e306bc7969 (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
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage {
  pname = "shell-hist";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "jamesmunns";
    repo = "shell-hist";
    rev = "158de8c3908b49530ecd76bf6e65c210f351ef82";
    sha256 = "0kc128xnnp1d56if70vfv0w3qnwhljhbnvzwwb7hfm3x2m0vqrqf";
  };

  # Delete this on next update; see #79975 for details
  legacyCargoFetcher = true;

  cargoSha256 = "1nqnkzwqk879qy1261g1gds668xz6islhzq7chzhilaqpmvf6039";

  meta = with lib; {
    description = "Inspect your shell history";
    homepage = "https://github.com/jamesmunns/shell-hist";
    license = with licenses; [ mit /* or */ asl20 ];
    maintainers = [ maintainers.spacekookie ];
    platforms = platforms.all;
  };
}