2021-04-13 19:44:15 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, freetype
|
|
|
|
, imlib2
|
|
|
|
, libSM
|
|
|
|
, libXcomposite
|
|
|
|
, libXdamage
|
|
|
|
, libXext
|
|
|
|
, libXfixes
|
|
|
|
, libXft
|
|
|
|
, libXinerama
|
|
|
|
, libXrandr
|
|
|
|
, libpulseaudio
|
|
|
|
, libsndfile
|
|
|
|
, pango
|
|
|
|
, perl
|
2022-06-16 17:23:12 +00:00
|
|
|
, gitUpdater
|
2021-04-13 19:44:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "e16";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.0.29";
|
2021-04-13 19:44:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/enlightenment/e16-${version}.tar.xz";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-LvLiw6+hduAl8dNBTtBwqvgKBRwojBUd5tNm1hZl5Hs=";
|
2021-04-13 19:44:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
freetype
|
|
|
|
imlib2
|
|
|
|
libSM
|
|
|
|
libXcomposite
|
|
|
|
libXdamage
|
|
|
|
libXext
|
|
|
|
libXfixes
|
|
|
|
libXft
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libpulseaudio
|
|
|
|
libsndfile
|
|
|
|
pango
|
|
|
|
perl
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace scripts/e_gen_menu --replace "/usr/local:" "/run/current-system/sw:/usr/local:"
|
|
|
|
'';
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://git.enlightenment.org/e16/e16";
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
2021-04-13 19:44:15 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.enlightenment.org/e16";
|
|
|
|
description = "Enlightenment DR16 window manager";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|