nixpkgs/pkgs/tools/misc/smenu/default.nix

30 lines
792 B
Nix
Raw Normal View History

2017-12-15 16:09:27 +00:00
{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
2018-02-21 13:18:32 +00:00
version = "v0.9.11";
2017-12-15 16:09:27 +00:00
name = "smenu-${version}";
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
rev = version;
2018-02-21 13:18:32 +00:00
sha256 = "1va5gsxniin02casgdrqxvpzccm0vwjiql60qrsvncrq6nm6bz0d";
2017-12-15 16:09:27 +00:00
};
buildInputs = [ ncurses ];
meta = with stdenv.lib; {
homepage = https://github.com/p-gen/smenu;
description = "Terminal selection utility";
longDescription = ''
Terminal utility that allows you to use words coming from the standard
input to create a nice selection window just below the cursor. Once done,
your selection will be sent to standard output.
'';
license = licenses.gpl2;
maintainers = [ ];
2017-12-15 16:09:27 +00:00
platforms = platforms.linux;
};
}