18 unrar, # has an unfree license
21 stdenv.mkDerivation (finalAttrs: {
25 src = fetchFromGitHub {
28 tag = "v${finalAttrs.version}";
29 hash = "sha256-KQD7U9sHHsxKIzMbrYqhTBUfFZpsoqiSxz5zMNIxU4o=";
32 patches = lib.optionals (!withUnrar) [
33 # remove `unrar` as fallback when libarchive fails
42 libsForQt5.wrapQtAppsHook
57 ++ lib.optionals withUnrar [
63 (lib.cmakeFeature "LIMO_INSTALL_PREFIX" (placeholder "out"))
64 (lib.cmakeBool "USE_SYSTEM_LIBUNRAR" true)
66 ++ lib.optionals (!withUnrar) [
67 (lib.cmakeFeature "LIBUNRAR_PATH" "")
68 (lib.cmakeFeature "LIBUNRAR_INCLUDE_DIR" "")
72 description = "General purpose mod manager with support for the NexusMods API and LOOT";
73 homepage = "https://github.com/limo-app/limo";
74 license = lib.licenses.gpl3Plus;
76 maintainers = with lib.maintainers; [
80 platforms = lib.platforms.linux;