2019-04-19 07:49:29 -07:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
|
2019-05-22 04:03:39 -07:00
|
|
|
, systemd, pango, cairo, gdk-pixbuf
|
2019-07-19 12:08:53 -07:00
|
|
|
, wayland, wayland-protocols }:
|
2018-10-23 13:12:44 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-19 07:49:29 -07:00
|
|
|
pname = "mako";
|
2020-01-12 06:51:02 -08:00
|
|
|
version = "1.4.1";
|
2018-10-23 13:12:44 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
2019-04-19 07:49:29 -07:00
|
|
|
repo = pname;
|
2018-10-23 13:12:44 -07:00
|
|
|
rev = "v${version}";
|
2020-01-12 06:51:02 -08:00
|
|
|
sha256 = "0hwvibpnrximb628w9dsfjpi30b5jy7nfkm4d94z5vhp78p43vxh";
|
2018-10-23 13:12:44 -07:00
|
|
|
};
|
|
|
|
|
2019-04-19 07:49:29 -07:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
|
2019-05-22 04:03:39 -07:00
|
|
|
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
|
2019-04-19 07:49:29 -07:00
|
|
|
|
2019-07-19 12:08:53 -07:00
|
|
|
mesonFlags = [ "-Dzsh-completions=true" ];
|
2018-10-23 13:12:44 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight Wayland notification daemon";
|
|
|
|
homepage = https://wayland.emersion.fr/mako/;
|
|
|
|
license = licenses.mit;
|
2020-01-12 06:51:24 -08:00
|
|
|
maintainers = with maintainers; [ dywedir synthetica ];
|
2018-10-23 13:12:44 -07:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|