Skip to content

Commit

Permalink
Merge pull request #218300 from Eken-beep/master
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Apr 1, 2023
2 parents 0fbc58b + c4c109f commit bef33b1
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4316,6 +4316,12 @@
githubId = 701128;
name = "Eike Kettner";
};
eken = {
email = "[email protected]";
github = "Eken-beep";
name = "Edvin Källström";
githubId = 84442052;
};
ekleog = {
email = "[email protected]";
matrix = "@leo:gaspard.ninja";
Expand Down
48 changes: 48 additions & 0 deletions pkgs/applications/misc/wmenu/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromSourcehut
, fetchpatch
, pkg-config
, meson
, ninja
, cairo
, pango
, wayland
, wayland-protocols
, libxkbcommon
, scdoc
}:

stdenv.mkDerivation rec {
pname = "wmenu";
version = "0.1.2";

strictDeps = true;

src = fetchFromSourcehut {
owner = "~adnano";
repo = "wmenu";
rev = version;
hash = "sha256-mS4qgf2sjgswasZXsmnbIWlqVv+Murvx1/ob0G3xsws=";
};

# Patch needed to remove build warning, gets merged in next release
patches = [
(fetchpatch {
url = "https://git.sr.ht/~adnano/wmenu/commit/ba10072cdec9b0d4b51bcf305ff27dcf3003ae42.patch";
hash = "sha256-XF7xmEnsKlExMJQ5iS7wQG9Ja6ocrR0YvQuWFfByKVA=";
})
];

nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [ cairo pango wayland libxkbcommon wayland-protocols scdoc ];

meta = with lib; {
description = "An efficient dynamic menu for Sway and wlroots based Wayland compositors";
homepage = "https://git.sr.ht/~adnano/wmenu";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ eken ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39554,6 +39554,8 @@ with pkgs;

wfuzz = with python3Packages; toPythonApplication wfuzz;

wmenu = callPackage ../applications/misc/wmenu { };

bemenu = callPackage ../applications/misc/bemenu { };

_9menu = callPackage ../applications/misc/9menu { };
Expand Down

0 comments on commit bef33b1

Please sign in to comment.