Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 14850326865c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 83a01ab93a22
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on May 1, 2019

  1. Copy the full SHA
    794cf0a View commit details

Commits on May 2, 2019

  1. bemenu: init at 0.1.0

    Bemenu is a dynamic menu library and client program inspired by dmenu
    with support for wayland compositors (and also X11 and ncurses).
    
    Build and tested in NixOS 19.03.172392.6d7ed96429 in X11 (i3wm), wayland
    (sway) and ncurses (kitty).
    thiagokokada committed May 2, 2019
    Copy the full SHA
    ed971d0 View commit details

Commits on May 13, 2019

  1. Merge pull request #60661 from thiagokokada/add-bemenu-pkg

    bemenu: init at 0.1.0
    etu authored May 13, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    83a01ab View commit details
Showing with 52 additions and 0 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +45 −0 pkgs/applications/misc/bemenu/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -4967,6 +4967,11 @@
github = "ctheune";
name = "Christian Theune";
};
thiagokokada = {
email = "thiagokokada@gmail.com";
github = "thiagokokada";
name = "Thiago K. Okada";
};
ThomasMader = {
email = "thomas.mader@gmail.com";
github = "ThomasMader";
45 changes: 45 additions & 0 deletions pkgs/applications/misc/bemenu/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ stdenv, fetchFromGitHub, cairo, cmake, libxkbcommon
, pango, fribidi, harfbuzz, pcre, pkgconfig
, ncursesSupport ? true, ncurses ? null
, waylandSupport ? true, wayland ? null
, x11Support ? true, xlibs ? null, xorg ? null
}:

assert ncursesSupport -> ncurses != null;
assert waylandSupport -> wayland != null;
assert x11Support -> xlibs != null && xorg != null;

stdenv.mkDerivation rec {
pname = "bemenu";
version = "0.1.0";

src = fetchFromGitHub {
owner = "Cloudef";
repo = "bemenu";
rev = "33e540a2b04ce78f5c7ab4a60b899c67f586cc32";
sha256 = "11h55m9dx6ai12pqij52ydjm36dvrcc856pa834njihrp626pl4w";
};

nativeBuildInputs = [ cmake pkgconfig pcre ];

buildInputs = with stdenv.lib; [
cairo
fribidi
harfbuzz
libxkbcommon
pango
] ++ optionals ncursesSupport [ ncurses ]
++ optionals waylandSupport [ wayland ]
++ optionals x11Support [
xlibs.libX11 xlibs.libXinerama xlibs.libXft
xorg.libXdmcp xorg.libpthreadstubs xorg.libxcb
];

meta = with stdenv.lib; {
homepage = "https://github.com/Cloudef/bemenu";
description = "Dynamic menu library and client program inspired by dmenu";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ thiagokokada ];
platforms = with platforms; linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -24030,4 +24030,6 @@ in

wasmtime = callPackage ../development/interpreters/wasmtime {};

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

}