forked from mirrors/nixpkgs
Merge pull request #6695 from matthiasbeyer/add-hstr
Add package: hstr (hh)
This commit is contained in:
commit
1a25b83c6b
25
pkgs/applications/misc/hstr/default.nix
Normal file
25
pkgs/applications/misc/hstr/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl, readline, ncurses }:
|
||||
|
||||
let
|
||||
version = "1.16";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "hstr-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
|
||||
sha256 = "1hl3fn6kravx5gsdsr0l824vnkj5aiz0dybhd3ak932v95b5knyg";
|
||||
};
|
||||
|
||||
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
|
||||
};
|
||||
|
||||
}
|
|
@ -5905,6 +5905,8 @@ let
|
|||
|
||||
hsqldb = callPackage ../development/libraries/java/hsqldb { };
|
||||
|
||||
hstr = callPackage ../applications/misc/hstr { };
|
||||
|
||||
http-parser = callPackage ../development/libraries/http-parser { inherit (pythonPackages) gyp; };
|
||||
|
||||
hunspell = callPackage ../development/libraries/hunspell { };
|
||||
|
|
Loading…
Reference in a new issue