2015-03-07 13:50:14 +00:00
|
|
|
{ stdenv, fetchurl, readline, ncurses }:
|
|
|
|
|
|
|
|
let
|
2015-06-19 18:00:02 +01:00
|
|
|
version = "1.17";
|
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";
|
2015-06-19 18:00:02 +01:00
|
|
|
sha256 = "0vjc4d8cl3sfbv9lywdpd2slffqyp3cpj52yp29g9lr2n3nfksk8";
|
2015-03-07 13:50:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ readline ncurses ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/dvorka/hstr";
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|