2015-03-07 13:50:14 +00:00
|
|
|
{ stdenv, fetchurl, readline, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-21 13:01:47 +00:00
|
|
|
name = "hstr-${version}";
|
2018-05-11 19:35:27 +00:00
|
|
|
version = "1.25";
|
2015-03-07 13:50:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
|
2018-05-11 19:35:27 +00:00
|
|
|
sha256 = "10njj0a3s5czv497wk3whka3gxr7vmhabs12vaw7kgb07h4ssnhg";
|
2015-03-07 13:50:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ readline ncurses ];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
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;
|
2018-04-06 08:57:19 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2015-03-07 13:50:14 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux; # Cannot test others
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|