nixpkgs/pkgs/applications/misc/mako/default.nix
Sumner Evans 6be62ba201
mako: 1.7 -> 1.7.1
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2022-07-06 12:53:36 -06:00

33 lines
882 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.7.1";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/+XYf8FiH4lk7f7/pMt43hm13mRK+UqvaNOpf1TI6m4=";
};
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-protocols wrapGAppsHook ];
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
mesonFlags = [
"-Dzsh-completions=true"
"-Dsd-bus-provider=libsystemd"
];
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;
};
}