35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ fetchFromGitHub, stdenv, ninja, meson, pkgconfig, glib, cairo, gdk_pixbuf, glib_networking, pango, libudev, xorg, libxslt, docbook_xml_xslt, git, libuuid, dbus, libsoup, docbook_xml_dtd_45, docbook5_xsl, gettext, autoconf, libtool, utillinux, libxkbcommon }:
|
|
stdenv.mkDerivation rec {
|
|
name = "eventd";
|
|
version = "v0.24.1";
|
|
src = fetchFromGitHub {
|
|
owner = "sardemff7";
|
|
repo = "eventd";
|
|
rev = version;
|
|
sha256 = "162gr3agmjn6d0wdj3lixv8qfvgfm9qg3wphbvwywdp4qcwvnjz8";
|
|
fetchSubmodules = true;
|
|
};
|
|
buildInputs = [
|
|
ninja
|
|
meson
|
|
pkgconfig
|
|
glib
|
|
cairo
|
|
gdk_pixbuf
|
|
glib_networking
|
|
pango
|
|
libudev
|
|
xorg.libxcb
|
|
xorg.xcbutil
|
|
xorg.xcbutilwm
|
|
libxkbcommon
|
|
libxslt
|
|
docbook_xml_xslt
|
|
docbook_xml_dtd_45
|
|
libuuid
|
|
dbus
|
|
];
|
|
preConfigure = ''
|
|
export mesonFlags="-Denable-systemd=true -Denable-introspection=false -Denable-nd-wayland=false -Denable-im=false -Denable-sound=false -Ddbussessionservicedir=$prefix/share/dbus-1/services -Dsystemduserunitdir=$prefix/lib/systemd/user -Dsystemdsystemunitdir=$prefix/lib/systemd/system"
|
|
'';
|
|
}
|