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

29 lines
813 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, ncurses }:
2017-12-15 17:09:27 +01:00
stdenv.mkDerivation rec {
2021-08-18 02:41:40 +02:00
version = "0.9.18";
pname = "smenu";
2017-12-15 17:09:27 +01:00
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
rev = "v${version}";
2021-08-18 02:41:40 +02:00
sha256 = "sha256-8ALY3dsUEJxGsDnYTOxNAmJbwmmZIV8GuHjNg0vPFUQ=";
2017-12-15 17:09:27 +01:00
};
buildInputs = [ ncurses ];
meta = with lib; {
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.
'';
license = licenses.gpl2Only;
maintainers = with maintainers; [ matthiasbeyer SuperSandro2000 ];
platforms = platforms.unix;
2017-12-15 17:09:27 +01:00
};
}