depot/third_party/nixpkgs/pkgs/tools/misc/smenu/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

29 lines
814 B
Nix

{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
version = "0.9.16";
pname = "smenu";
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
rev = "v${version}";
sha256 = "1vlsrc071fznqnz67jbhrc4pcfwzc737lwd9jxpnidn0i08py5p2";
};
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 = [ maintainers.matthiasbeyer ];
platforms = platforms.unix;
};
}