mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
29 lines
781 B
Nix
29 lines
781 B
Nix
{ lib, stdenv, fetchFromGitHub, readline, ncurses
|
|
, autoreconfHook, pkg-config, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hstr";
|
|
version = "2.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dvorka";
|
|
repo = "hstr";
|
|
rev = version;
|
|
sha256 = "sha256-yfaDISnTDb20DgMOvh6jJYisV6eL/Mp5jafnWEnFG8c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
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 = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.matthiasbeyer ];
|
|
platforms = with lib.platforms; linux ++ darwin;
|
|
};
|
|
|
|
}
|