nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 29 lines 812 B view raw
1{ stdenv, fetchFromGitHub, ncurses }: 2 3stdenv.mkDerivation rec { 4 version = "0.9.15"; 5 pname = "smenu"; 6 7 src = fetchFromGitHub { 8 owner = "p-gen"; 9 repo = "smenu"; 10 rev = "v${version}"; 11 sha256 = "0s9qhg6dln33x8r2g8igvgkyrv8g1z26wf8gcnqp3kbp6fw12izi"; 12 }; 13 14 buildInputs = [ ncurses ]; 15 16 meta = with stdenv.lib; { 17 homepage = https://github.com/p-gen/smenu; 18 description = "Terminal selection utility"; 19 longDescription = '' 20 Terminal utility that allows you to use words coming from the standard 21 input to create a nice selection window just below the cursor. Once done, 22 your selection will be sent to standard output. 23 ''; 24 license = licenses.gpl2; 25 maintainers = [ maintainers.matthiasbeyer ]; 26 platforms = platforms.unix; 27 }; 28} 29