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

30 lines
812 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, ncurses }:
2017-12-15 17:09:27 +01:00
stdenv.mkDerivation rec {
2020-09-26 23:20:00 +02:00
version = "0.9.16";
pname = "smenu";
2017-12-15 17:09:27 +01:00
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
2018-05-28 14:59:57 +02:00
rev = "v${version}";
2020-09-26 23:20:00 +02:00
sha256 = "1vlsrc071fznqnz67jbhrc4pcfwzc737lwd9jxpnidn0i08py5p2";
2017-12-15 17:09:27 +01:00
};
buildInputs = [ ncurses ];
meta = with lib; {
homepage = "https://github.com/p-gen/smenu";
2017-12-15 17:09:27 +01:00
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;
2017-12-15 17:09:27 +01:00
};
}