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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
781 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, readline, ncurses
, autoreconfHook, pkg-config, gettext }:
2015-03-07 13:50:14 +00:00
stdenv.mkDerivation rec {
pname = "hstr";
version = "3.1";
2015-03-07 13:50:14 +00:00
src = fetchFromGitHub {
owner = "dvorka";
repo = "hstr";
rev = version;
hash = "sha256-OuLy1aiEwUJDGy3+UXYF1Vx1nNXic46WIZEM1xrIPfA=";
2015-03-07 13:50:14 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
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";
2021-01-15 05:42:41 +00:00
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.matthiasbeyer ];
platforms = with lib.platforms; linux ++ darwin;
2015-03-07 13:50:14 +00:00
};
}