2021-01-17 03:09:27 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc
|
2019-05-22 13:03:39 +02:00
|
|
|
, systemd, pango, cairo, gdk-pixbuf
|
2020-04-11 05:00:18 +02:00
|
|
|
, wayland, wayland-protocols
|
|
|
|
, wrapGAppsHook }:
|
2018-10-23 22:12:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-19 16:49:29 +02:00
|
|
|
pname = "mako";
|
2021-05-03 20:29:22 +02:00
|
|
|
version = "1.5";
|
2018-10-23 22:12:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
2019-04-19 16:49:29 +02:00
|
|
|
repo = pname;
|
2018-10-23 22:12:44 +02:00
|
|
|
rev = "v${version}";
|
2021-05-03 20:29:22 +02:00
|
|
|
sha256 = "0f92krcgybl4113g2gawf7lcbh1fss7bq4cx81h1zyn7yvxlwx2b";
|
2018-10-23 22:12:44 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-protocols wrapGAppsHook ];
|
2019-05-22 13:03:39 +02:00
|
|
|
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
|
2019-04-19 16:49:29 +02:00
|
|
|
|
2021-05-03 20:29:22 +02:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dzsh-completions=true"
|
|
|
|
"-Dsd-bus-provider=libsystemd"
|
|
|
|
];
|
2018-10-23 22:12:44 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-23 22:12:44 +02:00
|
|
|
description = "A lightweight Wayland notification daemon";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wayland.emersion.fr/mako/";
|
2018-10-23 22:12:44 +02:00
|
|
|
license = licenses.mit;
|
2020-01-12 15:51:24 +01:00
|
|
|
maintainers = with maintainers; [ dywedir synthetica ];
|
2018-10-23 22:12:44 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|