Files
nixpkgs/pkgs/by-name/e1/e16/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

74 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
freetype,
imlib2,
libSM,
libXcomposite,
libXdamage,
libXext,
libXfixes,
libXft,
libXinerama,
libXrandr,
libpulseaudio,
libsndfile,
pango,
perl,
python3,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "e16";
version = "1.0.31";
src = fetchurl {
url = "mirror://sourceforge/enlightenment/e16-${version}.tar.xz";
hash = "sha256-ZQTsIy/BiO/xUiCu+bc2n406F0unAinxyYLjVRfUSiQ=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
freetype
imlib2
libSM
libXcomposite
libXdamage
libXext
libXfixes
libXft
libXinerama
libXrandr
libpulseaudio
libsndfile
pango
perl
python3
];
postPatch = ''
substituteInPlace scripts/e_gen_menu --replace "/usr/local:" "/run/current-system/sw:/usr/local:"
substituteInPlace scripts/e_gen_menu --replace "'/opt'" "'/opt', '/run/current-system/sw'"
substituteInPlace scripts/e_gen_menu --replace "'/.local'" "'/.nix-profile', '/.local'"
'';
passthru.updateScript = gitUpdater {
url = "https://git.enlightenment.org/e16/e16";
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://www.enlightenment.org/e16";
description = "Enlightenment DR16 window manager";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}