mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
4f06c77709
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hstr/versions. These checks were done: - built on NixOS - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hh -h’ got 0 exit code - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hh --help’ got 0 exit code - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hstr -h’ got 0 exit code - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hstr --help’ got 0 exit code - found 1.25 with grep in /nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25 - directory tree listing: https://gist.github.com/78f6aa615325f274537cb003e3aabf26
23 lines
686 B
Nix
23 lines
686 B
Nix
{ stdenv, fetchurl, readline, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hstr-${version}";
|
|
version = "1.25";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
|
|
sha256 = "10njj0a3s5czv497wk3whka3gxr7vmhabs12vaw7kgb07h4ssnhg";
|
|
};
|
|
|
|
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 = with stdenv.lib.maintainers; [ ];
|
|
platforms = with stdenv.lib.platforms; linux; # Cannot test others
|
|
};
|
|
|
|
}
|