2022-05-06 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, readline, ncurses
|
2021-01-17 02:09:27 +00:00
|
|
|
, autoreconfHook, pkg-config, gettext }:
|
2015-03-07 13:50:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hstr";
|
2022-05-06 04:20:00 +00:00
|
|
|
version = "2.5";
|
2015-03-07 13:50:14 +00:00
|
|
|
|
2019-07-05 11:43:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dvorka";
|
|
|
|
repo = "hstr";
|
|
|
|
rev = version;
|
2022-05-06 04:20:00 +00:00
|
|
|
sha256 = "sha256-qIMnU+gRR3HPAOrrrduN68R5E8ZJKROfZ0sEHL0E4XU=";
|
2015-03-07 13:50:14 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-07-05 11:43:29 +00:00
|
|
|
buildInputs = [ readline ncurses gettext ];
|
|
|
|
|
2020-06-23 22:17:05 +00:00
|
|
|
configureFlags = [ "--prefix=$(out)" ];
|
2015-03-07 13:50:14 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/dvorka/hstr";
|
2015-03-07 13:50:14 +00:00
|
|
|
description = "Shell history suggest box - easily view, navigate, search and use your command history";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.matthiasbeyer ];
|
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
2015-03-07 13:50:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|