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

40 lines
1.1 KiB
Nix
Raw Normal View History

2019-04-19 14:49:29 +00:00
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
, systemd, pango, cairo, gdk_pixbuf
2019-07-10 17:20:57 +00:00
, wayland, wayland-protocols
, fetchpatch }:
2018-10-23 20:12:44 +00:00
stdenv.mkDerivation rec {
2019-04-19 14:49:29 +00:00
pname = "mako";
version = "1.3";
2018-10-23 20:12:44 +00:00
src = fetchFromGitHub {
owner = "emersion";
2019-04-19 14:49:29 +00:00
repo = pname;
2018-10-23 20:12:44 +00:00
rev = "v${version}";
2019-04-19 14:49:29 +00:00
sha256 = "17azdc37xsbmx13fkfp23vg9lznrv9fh6nhagn64wdq3nhsxm3b6";
2018-10-23 20:12:44 +00:00
};
2019-07-10 17:20:57 +00:00
# to be removed with next release
patches = [
(fetchpatch {
url = "https://github.com/emersion/mako/commit/ca8e763f06756136c534b1bbd2e5b536be6b1995.patch";
sha256 = "09mi7nn2vwc69igxxc6y2m36n3snhsz0ady99yabhrzl17k4ryds";
})
];
2019-04-19 14:49:29 +00: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 20:12:44 +00: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;
};
}