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
75 lines
1.4 KiB
Nix
75 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchzip,
|
|
cmake,
|
|
pkg-config,
|
|
alsa-lib,
|
|
bluez,
|
|
curl,
|
|
ffmpeg,
|
|
freeimage,
|
|
freetype,
|
|
gettext,
|
|
harfbuzz,
|
|
icu,
|
|
libgit2,
|
|
poppler,
|
|
pugixml,
|
|
SDL2,
|
|
libGL,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "emulationstation-de";
|
|
version = "3.2.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://gitlab.com/es-de/emulationstation-de/-/archive/v${finalAttrs.version}/emulationstation-de-v${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-tW8+7ImcJ3mBhoIHVE8h4cba+4SQLP55kiFYE7N8jyI=";
|
|
};
|
|
|
|
patches = [
|
|
./001-add-nixpkgs-retroarch-cores.patch
|
|
];
|
|
|
|
postPatch = ''
|
|
# ldd-based detection fails for cross builds
|
|
substituteInPlace CMake/Packages/FindPoppler.cmake \
|
|
--replace-fail 'GET_PREREQUISITES("''${POPPLER_LIBRARY}" POPPLER_PREREQS 1 0 "" "")' ""
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
gettext # msgfmt
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
alsa-lib
|
|
bluez
|
|
curl
|
|
ffmpeg
|
|
freeimage
|
|
freetype
|
|
harfbuzz
|
|
icu
|
|
libgit2
|
|
poppler
|
|
pugixml
|
|
SDL2
|
|
libGL
|
|
];
|
|
|
|
cmakeFlags = [ (lib.cmakeBool "APPLICATION_UPDATER" false) ];
|
|
|
|
meta = {
|
|
description = "ES-DE (EmulationStation Desktop Edition) is a frontend for browsing and launching games from your multi-platform collection";
|
|
homepage = "https://es-de.org";
|
|
maintainers = with lib.maintainers; [ ivarmedi ];
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "es-de";
|
|
};
|
|
})
|