Merge pull request #81518 from Ma27/add-dmenu-wayland

dmenu-wayland: init at 2020-02-28
This commit is contained in:
Maximilian Bosch 2020-03-03 00:35:10 +01:00 committed by GitHub
commit a2da250607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, meson, ninja, cairo, pango, pkg-config, wayland-protocols
, glib, wayland, libxkbcommon, makeWrapper
}:
stdenv.mkDerivation rec {
pname = "dmenu-wayland-unstable";
version = "2020-02-28";
src = fetchFromGitHub {
owner = "nyyManni";
repo = "dmenu-wayland";
rev = "68e08e8bcde10a10ac3290431f173c6c7fce4238";
sha256 = "10b1v2brgpgb6wkzn62haj56zmkf3aq6fs3p9rp6bxiw8bs2nvlm";
};
outputs = [ "out" "man" ];
nativeBuildInputs = [ meson ninja pkg-config makeWrapper ];
buildInputs = [ cairo pango wayland-protocols glib wayland libxkbcommon ];
postInstall = ''
wrapProgram $out/bin/dmenu-wl_run \
--prefix PATH : $out/bin
'';
meta = with stdenv.lib; {
license = licenses.mit;
platforms = platforms.linux;
description = "dmenu for wayland-compositors";
homepage = "https://github.com/nyyManni/dmenu-wayland";
maintainers = with maintainers; [ ma27 ];
};
}

View File

@ -18754,6 +18754,7 @@ in
djview4 = pkgs.djview;
dmenu = callPackage ../applications/misc/dmenu { };
dmenu-wayland = callPackage ../applications/misc/dmenu/wayland.nix { };
dmensamenu = callPackage ../applications/misc/dmensamenu {
inherit (python3Packages) buildPythonApplication requests;