mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
29 lines
842 B
Nix
29 lines
842 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, 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 pkg-config scdoc wayland-protocols wrapGAppsHook ];
|
|
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
|
|
|
|
mesonFlags = [ "-Dzsh-completions=true" ];
|
|
|
|
meta = with lib; {
|
|
description = "A lightweight Wayland notification daemon";
|
|
homepage = "https://wayland.emersion.fr/mako/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dywedir synthetica ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|