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