2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, cairo, pango, pkg-config, wayland-protocols
|
2020-04-24 23:36:52 +00:00
|
|
|
, glib, wayland, libxkbcommon, makeWrapper
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dmenu-wayland-unstable";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "2020-07-06";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nyyManni";
|
|
|
|
repo = "dmenu-wayland";
|
2020-07-18 16:06:22 +00:00
|
|
|
rev = "304c8e917651ee02b16ebf0b7097a5c53fa2236b";
|
|
|
|
sha256 = "0rkpmpk7xkcfbnv9vpg8n65423z5xpgp0hm2vg0rxf9354bjin7k";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "dmenu for wayland-compositors";
|
|
|
|
homepage = "https://github.com/nyyManni/dmenu-wayland";
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|