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

26 lines
699 B
Nix
Raw Normal View History

2015-03-07 13:50:14 +00:00
{ stdenv, fetchurl, readline, ncurses }:
let
2017-10-31 15:07:26 +00:00
version = "1.23";
2015-03-07 13:50:14 +00:00
in
stdenv.mkDerivation rec {
name = "hstr-${version}";
src = fetchurl {
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
2017-10-31 15:07:26 +00:00
sha256 = "1hnira256p7sdilx34mnkji7gi2jcl98zz4izqxsqmnzj8ghhzkv";
2015-03-07 13:50:14 +00:00
};
buildInputs = [ readline ncurses ];
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 ];
platforms = with stdenv.lib.platforms; linux; # Cannot test others
};
}