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

29 lines
797 B
Nix
Raw Normal View History

2019-04-19 15:49:29 +01:00
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
2019-05-22 12:03:39 +01:00
, systemd, pango, cairo, gdk-pixbuf
2019-07-19 20:08:53 +01:00
, wayland, wayland-protocols }:
2018-10-23 21:12:44 +01:00
stdenv.mkDerivation rec {
2019-04-19 15:49:29 +01:00
pname = "mako";
2019-07-19 20:08:53 +01:00
version = "1.4";
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-07-19 20:08:53 +01:00
sha256 = "11ymiq6cr2ma0iva1mqybn3j6k73bsc6lv6pcbdq7hkhd4f9b7j9";
2018-10-23 21:12:44 +01:00
};
2019-04-19 15:49:29 +01:00
nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
2019-05-22 12:03:39 +01:00
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
2019-04-19 15:49:29 +01:00
2019-07-19 20:08:53 +01:00
mesonFlags = [ "-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;
};
}