2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
2017-12-15 16:09:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-18 01:41:40 +01:00
|
|
|
version = "0.9.18";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "smenu";
|
2017-12-15 16:09:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-12 15:54:50 +00:00
|
|
|
owner = "p-gen";
|
|
|
|
repo = "smenu";
|
|
|
|
rev = "v${version}";
|
2021-08-18 01:41:40 +01:00
|
|
|
sha256 = "sha256-8ALY3dsUEJxGsDnYTOxNAmJbwmmZIV8GuHjNg0vPFUQ=";
|
2017-12-15 16:09:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-02-12 15:54:50 +00:00
|
|
|
homepage = "https://github.com/p-gen/smenu";
|
|
|
|
description = "Terminal selection utility";
|
2017-12-15 16:09:27 +00: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 15:54:50 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer SuperSandro2000 ];
|
|
|
|
platforms = platforms.unix;
|
2017-12-15 16:09:27 +00:00
|
|
|
};
|
|
|
|
}
|