summary refs log blame commit diff
path: root/pkgs/applications/misc/hstr/default.nix
blob: e2290ac01e8523f66ec23c8cab5eb140dcf4d4a8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                        
                   






                                                                                              
                                                                    












                                                                                                           
{ stdenv, fetchurl, readline, ncurses }:

let
  version = "1.19";
in
stdenv.mkDerivation rec {

  name = "hstr-${version}";

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

  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 = [ stdenv.lib.maintainers.matthiasbeyer ];
    platforms = with stdenv.lib.platforms; linux; # Cannot test others
  };

}