summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-12-15 17:09:27 +0100
committerMatthias Beyer <mail@beyermatthias.de>2017-12-15 17:09:27 +0100
commit826e8a2a3bef1cc5f220ae689cd3d72566f0a75c (patch)
tree10ffed85a16a76c0ae0e479d680f9998a666b5f2 /pkgs/tools/misc
parent63596faef1c6807af70e4a2ef497109e556b6118 (diff)
downloadnixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.tar
nixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.tar.gz
nixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.tar.bz2
nixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.tar.lz
nixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.tar.xz
nixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.tar.zst
nixlib-826e8a2a3bef1cc5f220ae689cd3d72566f0a75c.zip
smenu: init at 0.9.10
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/smenu/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/smenu/default.nix b/pkgs/tools/misc/smenu/default.nix
new file mode 100644
index 000000000000..f1493630a2a5
--- /dev/null
+++ b/pkgs/tools/misc/smenu/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, ncurses }:
+
+stdenv.mkDerivation rec {
+  version = "v0.9.10";
+  name = "smenu-${version}";
+
+  src = fetchFromGitHub {
+    owner  = "p-gen";
+    repo   = "smenu";
+    rev    = version;
+    sha256 = "1fh0s5zhx8ps760w0yxjv682lhahz1j63i0gdwvvr5vnvyx6c40d";
+  };
+
+  buildInputs = [ ncurses ];
+
+  meta = with stdenv.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.gpl2;
+    maintainers = [ maintainers.matthiasbeyer ];
+    platforms   = platforms.linux;
+  };
+}
+