depot/third_party/nixpkgs/pkgs/tools/misc/smenu/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

29 lines
823 B
Nix

{ lib, stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
version = "1.4.0";
pname = "smenu";
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
rev = "v${version}";
sha256 = "sha256-pAbtTqDIdDWReeaRK7UHXh/PS5f44/PRWaICluH02ec=";
};
buildInputs = [ ncurses ];
meta = with 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.gpl2Only;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.unix;
mainProgram = "smenu";
};
}