2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
2017-12-15 17:09:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-08-25 19:16:48 +02:00
|
|
|
version = "1.3.0";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "smenu";
|
2017-12-15 17:09:27 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-12 16:54:50 +01:00
|
|
|
owner = "p-gen";
|
|
|
|
repo = "smenu";
|
|
|
|
rev = "v${version}";
|
2023-08-25 19:16:48 +02:00
|
|
|
sha256 = "sha256-r2N+MmZI2KCuYarrFL2Xn5hu4FO3n5MqADRuTXMOtk0=";
|
2017-12-15 17:09:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-02-12 16:54:50 +01:00
|
|
|
homepage = "https://github.com/p-gen/smenu";
|
|
|
|
description = "Terminal selection utility";
|
2017-12-15 17:09:27 +01:00
|
|
|
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.
|
|
|
|
'';
|
2021-02-12 16:54:50 +01:00
|
|
|
license = licenses.gpl2Only;
|
2023-07-23 19:30:22 +02:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
2021-02-12 16:54:50 +01:00
|
|
|
platforms = platforms.unix;
|
2017-12-15 17:09:27 +01:00
|
|
|
};
|
|
|
|
}
|