1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-23 00:01:24 -04:00
nixpkgs/pkgs/applications/misc/hstr/default.nix

26 lines
701 B
Nix
Raw Normal View History

2015-03-07 08:50:14 -05:00
{ 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
};
}