1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
28 lines
807 B
Nix
28 lines
807 B
Nix
{ stdenv, fetchFromGitHub, readline, ncurses
|
|
, autoreconfHook, pkgconfig, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hstr";
|
|
version = "2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dvorka";
|
|
repo = "hstr";
|
|
rev = version;
|
|
sha256 = "07fkilqlkpygvf9kvxyvl58g3lfq0bwwdp3wczy4hk8qlbhmgihn";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ readline ncurses gettext ];
|
|
|
|
configureFlags = [ "--prefix=$(out)" ];
|
|
|
|
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
|
|
};
|
|
|
|
}
|