mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
26 lines
699 B
Nix
26 lines
699 B
Nix
{ stdenv, fetchurl, readline, ncurses }:
|
|
|
|
let
|
|
version = "1.23";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hstr-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
|
|
sha256 = "1hnira256p7sdilx34mnkji7gi2jcl98zz4izqxsqmnzj8ghhzkv";
|
|
};
|
|
|
|
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
|
|
};
|
|
|
|
}
|