2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc
|
2020-04-24 23:36:52 +00:00
|
|
|
, systemd, pango, cairo, gdk-pixbuf
|
|
|
|
, wayland, wayland-protocols
|
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mako";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "1.7.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-/+XYf8FiH4lk7f7/pMt43hm13mRK+UqvaNOpf1TI6m4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-protocols wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dzsh-completions=true"
|
|
|
|
"-Dsd-bus-provider=libsystemd"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A lightweight Wayland notification daemon";
|
|
|
|
homepage = "https://wayland.emersion.fr/mako/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dywedir synthetica ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|