about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/hstr/default.nix
blob: 026cf9ecc14a05aca630a0e2a72388bf1aee33f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, readline, ncurses }:

stdenv.mkDerivation rec {
  name    = "hstr-${version}";
  version = "1.25";

  src = fetchurl {
    url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
    sha256 = "10njj0a3s5czv497wk3whka3gxr7vmhabs12vaw7kgb07h4ssnhg";
  };

  buildInputs = [ readline ncurses ];

  meta = {
    homepage = https://github.com/dvorka/hstr;
    description = "Shell history suggest box - easily view, navigate, search and use your command history";
    license = stdenv.lib.licenses.asl20;
    maintainers = with stdenv.lib.maintainers; [ ];
    platforms = with stdenv.lib.platforms; linux; # Cannot test others
  };

}