3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/mako/default.nix
Vika c6eabc0033
mako: wrap with wrapGAppsHook
mako wasn't finding the librsvg library and its gdk-pixbuf loader, the
SVG icon support was broken for a long time.
2020-04-11 06:00:18 +03:00

30 lines
840 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
, systemd, pango, cairo, gdk-pixbuf
, wayland, wayland-protocols
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "mako";
version = "1.4.1";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "0hwvibpnrximb628w9dsfjpi30b5jy7nfkm4d94z5vhp78p43vxh";
};
nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols wrapGAppsHook ];
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
mesonFlags = [ "-Dzsh-completions=true" ];
meta = with stdenv.lib; {
description = "A lightweight Wayland notification daemon";
homepage = https://wayland.emersion.fr/mako/;
license = licenses.mit;
maintainers = with maintainers; [ dywedir synthetica ];
platforms = platforms.linux;
};
}