dmenu2: Remove the package (fix #63218)

This commit is contained in:
Michael Weiss 2019-07-30 20:20:52 +02:00
parent ec3f7e3e54
commit 3f5b182891
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
3 changed files with 7 additions and 32 deletions

View File

@ -1,6 +1,6 @@
{ clipnotify, makeWrapper, xsel, dmenu2, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
let
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu2 utillinux gawk ];
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu utillinux gawk ];
in
stdenv.mkDerivation rec {
name = "clipmenu-${version}";

View File

@ -1,29 +0,0 @@
{stdenv, fetchhg, libX11, libXinerama, libXft, zlib}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dmenu2-0.3pre-2014-07-08";
src = fetchhg {
url = "https://bitbucket.org/melek/dmenu2";
rev = "36cb94a16edf928bdaaa636123392517ed469be0";
sha256 = "1b17z5ypg6ij7zz3ncp3irc87raccna10y4w490c872a99lp23lv";
};
buildInputs = [ libX11 libXinerama zlib libXft ];
postPatch = ''
sed -ri -e 's!\<(dmenu|stest)\>!'"$out/bin"'/&!g' dmenu_run
'';
preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
meta = {
description = "A patched fork of the original dmenu - an efficient dynamic menu for X";
homepage = https://bitbucket.org/melek/dmenu2;
license = licenses.mit;
maintainers = [ maintainers.cstrahan ];
platforms = platforms.all;
};
}

View File

@ -17549,7 +17549,11 @@ in
dmenu = callPackage ../applications/misc/dmenu { };
dmenu2 = callPackage ../applications/misc/dmenu2 { };
# TODO (@primeos): Remove after the 19.09 branch-off:
dmenu2 = throw ''
The fork "dmenu2" is not maintained by upstream anymore. Please use the
original "dmenu" instead.
'';
dmensamenu = callPackage ../applications/misc/dmensamenu {
inherit (python3Packages) buildPythonApplication requests;