2018-10-23 20:12:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc, systemd, pango, cairo
|
|
|
|
, wayland, wayland-protocols }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mako-${version}";
|
2018-11-24 19:37:22 +00:00
|
|
|
version = "1.2";
|
2018-10-23 20:12:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = "mako";
|
|
|
|
rev = "v${version}";
|
2018-11-24 19:37:22 +00:00
|
|
|
sha256 = "112b7s5bkvwlgsm2kng2vh8mn6wr3a6c7n1arl9adxlghdym449h";
|
2018-10-23 20:12:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
|
|
|
|
buildInputs = [ systemd pango cairo wayland wayland-protocols ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight Wayland notification daemon";
|
|
|
|
homepage = https://wayland.emersion.fr/mako/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dywedir ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|