3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/mako/default.nix

31 lines
843 B
Nix
Raw Normal View History

2019-04-19 15:49:29 +01:00
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
, systemd, pango, cairo, gdk_pixbuf
2018-10-23 21:12:44 +01:00
, wayland, wayland-protocols }:
stdenv.mkDerivation rec {
2019-04-19 15:49:29 +01:00
pname = "mako";
version = "1.3";
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}";
2019-04-19 15:49:29 +01:00
sha256 = "17azdc37xsbmx13fkfp23vg9lznrv9fh6nhagn64wdq3nhsxm3b6";
2018-10-23 21:12:44 +01:00
};
2019-04-19 15:49:29 +01:00
nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
buildInputs = [ systemd pango cairo gdk_pixbuf wayland ];
mesonFlags = [
"-Dicons=enabled" "-Dman-pages=enabled" "-Dzsh-completions=true"
];
2018-10-23 21:12:44 +01:00
meta = with stdenv.lib; {
description = "A lightweight Wayland notification daemon";
homepage = https://wayland.emersion.fr/mako/;
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
platforms = platforms.linux;
};
}