1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/applications/misc/hstr/default.nix

26 lines
701 B
Nix
Raw Normal View History

2015-03-07 13:50:14 +00:00
{ stdenv, fetchurl, readline, ncurses }:
let
2016-02-02 20:21:38 +00:00
version = "1.19";
2015-03-07 13:50:14 +00:00
in
stdenv.mkDerivation rec {
name = "hstr-${version}";
src = fetchurl {
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
2016-02-02 20:21:38 +00:00
sha256 = "0ix6550l9si29j8vz375vzjmp22i19ik5dq2nh7zsj2ra7ibaz5n";
2015-03-07 13:50:14 +00:00
};
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
};
}