2015-03-07 14:50:14 +01:00
|
|
|
{ stdenv, fetchurl, readline, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-21 14:01:47 +01:00
|
|
|
name = "hstr-${version}";
|
|
|
|
version = "1.24";
|
2015-03-07 14:50:14 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
|
2018-02-21 14:01:47 +01:00
|
|
|
sha256 = "0w8is777fwq6r17zhl9xwrv9f7vanllzjiasx1pg6pxvppq7rh0x";
|
2015-03-07 14:50:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ readline ncurses ];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/dvorka/hstr;
|
2015-03-07 14:50:14 +01:00
|
|
|
description = "Shell history suggest box - easily view, navigate, search and use your command history";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
2018-04-06 10:57:19 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2015-03-07 14:50:14 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux; # Cannot test others
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|