nixpkgs/pkgs/applications/misc/mako/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
880 B
Nix
Raw Normal View History

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