nixpkgs/pkgs/desktops/enlightenment/enlightenment.nix

60 lines
1.5 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, efl,
xcbutilkeysyms, libXrandr, libXdmcp, libxcb, libffi, pam, alsaLib,
luajit, bzip2, libpthreadstubs, gdbm, libcap, libGLU, mesa_noglu,
xkeyboard_config, pcre
}:
stdenv.mkDerivation rec {
name = "enlightenment-${version}";
2018-03-27 15:41:20 +01:00
version = "0.22.3";
2016-07-24 10:58:17 +01:00
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.xz";
2018-03-27 15:41:20 +01:00
sha256 = "16zydv7z94aw3rywmb9gr8ya85k7b75h22wng95lfx1x0y1yb0ad";
};
2016-05-04 10:31:23 +01:00
nativeBuildInputs = [
meson
ninja
(pkgconfig.override { vanilla = true; })
gettext
];
2016-05-04 10:31:23 +01:00
2016-10-14 09:51:40 +01:00
buildInputs = [
efl
libXdmcp
libxcb
xcbutilkeysyms
libXrandr
libffi
pam
alsaLib
luajit
bzip2
libpthreadstubs
gdbm
pcre
mesa_noglu
2016-10-14 09:51:40 +01:00
] ++
stdenv.lib.optionals stdenv.isLinux [ libcap ];
2016-05-04 10:31:23 +01:00
# Instead of setting owner to root and permissions to setuid/setgid
# (which is not allowed for files in /nix/store) of some
# enlightenment programs, the file $out/e-wrappers.nix is created,
# containing the needed configuration for that purpose. It can be
# used in the enlightenment module.
patches = [ ./enlightenment.suid-exes.patch ];
mesonFlags = [ "-Dsystemdunitdir=lib/systemd/user" ];
enableParallelBuilding = true;
2016-10-14 09:51:40 +01:00
meta = with stdenv.lib; {
description = "The Compositing Window Manager and Desktop Shell";
homepage = https://www.enlightenment.org;
2016-10-14 09:51:40 +01:00
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ matejc tstrobel ftrvxmtrx romildo ];
};
}