Bemenu: 0.1.0 -> 0.3.0 (#76676)

Bemenu: 0.1.0 -> 0.3.0
This commit is contained in:
Silvan Mosberger 2020-01-01 03:46:06 +01:00 committed by GitHub
commit 286450b335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,19 +9,25 @@ assert ncursesSupport -> ncurses != null;
assert waylandSupport -> wayland != null; assert waylandSupport -> wayland != null;
assert x11Support -> xlibs != null && xorg != null; assert x11Support -> xlibs != null && xorg != null;
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "bemenu"; pname = "bemenu";
version = "0.1.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Cloudef"; owner = "Cloudef";
repo = "bemenu"; repo = pname;
rev = "33e540a2b04ce78f5c7ab4a60b899c67f586cc32"; rev = version;
sha256 = "11h55m9dx6ai12pqij52ydjm36dvrcc856pa834njihrp626pl4w"; sha256 = "03k8wijdgj5nwmvgjhsrlh918n719789fhs4dqm23pd00rapxipk";
}; };
nativeBuildInputs = [ cmake pkgconfig pcre ]; nativeBuildInputs = [ cmake pkgconfig pcre ];
cmakeFlags = [
"-DBEMENU_CURSES_RENDERER=${if ncursesSupport then "ON" else "OFF"}"
"-DBEMENU_WAYLAND_RENDERER=${if waylandSupport then "ON" else "OFF"}"
"-DBEMENU_X11_RENDERER=${if x11Support then "ON" else "OFF"}"
];
buildInputs = with stdenv.lib; [ buildInputs = with stdenv.lib; [
cairo cairo
fribidi fribidi