nixpkgs-suyu/pkgs/applications/misc/hstr/default.nix

29 lines
782 B
Nix
Raw Normal View History

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