nixpkgs/pkgs/tools/misc/smenu/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

30 lines
812 B
Nix

{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
version = "0.9.15";
pname = "smenu";
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
rev = "v${version}";
sha256 = "0s9qhg6dln33x8r2g8igvgkyrv8g1z26wf8gcnqp3kbp6fw12izi";
};
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.unix;
};
}