1 { lib, stdenv, fetchFromGitHub, readline, ncurses
2 , autoreconfHook, pkg-config, gettext }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 hash = "sha256-OuLy1aiEwUJDGy3+UXYF1Vx1nNXic46WIZEM1xrIPfA=";
15 nativeBuildInputs = [ autoreconfHook pkg-config ];
16 buildInputs = [ readline ncurses gettext ];
18 configureFlags = [ "--prefix=$(out)" ];
21 homepage = "https://github.com/dvorka/hstr";
22 description = "Shell history suggest box - easily view, navigate, search and use your command history";
23 license = lib.licenses.asl20;
24 maintainers = [ lib.maintainers.matthiasbeyer ];
25 platforms = with lib.platforms; linux ++ darwin;