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

29 lines
807 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, readline, ncurses
, autoreconfHook, pkgconfig, gettext }:
2015-03-07 13:50:14 +00:00
stdenv.mkDerivation rec {
pname = "hstr";
2019-12-23 16:56:26 +00:00
version = "2.2";
2015-03-07 13:50:14 +00:00
src = fetchFromGitHub {
owner = "dvorka";
repo = "hstr";
rev = version;
2019-12-23 16:56:26 +00:00
sha256 = "07fkilqlkpygvf9kvxyvl58g3lfq0bwwdp3wczy4hk8qlbhmgihn";
2015-03-07 13:50:14 +00:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ readline ncurses gettext ];
2020-06-23 22:17:05 +00:00
configureFlags = [ "--prefix=$(out)" ];
2015-03-07 13:50:14 +00:00
meta = {
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";
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
2015-03-07 13:50:14 +00:00
platforms = with stdenv.lib.platforms; linux; # Cannot test others
};
}