2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "0.9.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "smenu";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "p-gen";
|
|
|
|
repo = "smenu";
|
|
|
|
rev = "v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1p8y1fgrfb7jxmv5ycvvnqaz7ghdi50paisgzk71169fqwp1crfa";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|