2022-05-18 14:49:53 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, readline, ncurses
|
2021-02-05 17:12:51 +00:00
|
|
|
, autoreconfHook, pkg-config, gettext }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hstr";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "2.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dvorka";
|
|
|
|
repo = "hstr";
|
|
|
|
rev = version;
|
2022-12-28 21:21:41 +00:00
|
|
|
sha256 = "sha256-yfaDISnTDb20DgMOvh6jJYisV6eL/Mp5jafnWEnFG8c=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ readline ncurses gettext ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
configureFlags = [ "--prefix=$(out)" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/dvorka/hstr";
|
|
|
|
description = "Shell history suggest box - easily view, navigate, search and use your command history";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.matthiasbeyer ];
|
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|