1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/applications/misc/mako/default.nix
2021-05-03 20:29:22 +02:00

33 lines
881 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.5";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "0f92krcgybl4113g2gawf7lcbh1fss7bq4cx81h1zyn7yvxlwx2b";
};
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;
};
}