Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
cmake,
pkg-config,
wrapGAppsHook3,
wrapQtAppsHook,
gst_all_1,
qtbase,
qtsvg,
qtmultimedia,
qttools,
qtwayland,
zlib,
# only required when using poppler
poppler,
qt6,
qt6Packages,
# only required when using mupdf
freetype,
gumbo,
Expand All @@ -27,22 +21,22 @@
useExternalRenderer ? false,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "beamerpresenter";
version = "0.2.6";

src = fetchFromGitHub {
owner = "beamerpresenter";
repo = "BeamerPresenter";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-sPeWlPkWOPfLAoAC/+T7nyhPqvoaZg6aMOIVLjMqd2k=";
};

nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook3
wrapQtAppsHook
qt6.wrapQtAppsHook
];

dontWrapGApps = true;
Expand All @@ -52,13 +46,13 @@ stdenv.mkDerivation rec {
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
zlib
qtbase
qtsvg
qtmultimedia
qttools
qt6.qtbase
qt6.qtsvg
qt6.qtmultimedia
qt6.qttools
]
++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland
qt6.qtwayland
]
++ lib.optionals useMupdf [
freetype
Expand All @@ -68,7 +62,7 @@ stdenv.mkDerivation rec {
openjpeg
]
++ lib.optionals usePoppler [
poppler
qt6Packages.poppler
];

cmakeFlags = [
Expand All @@ -81,7 +75,7 @@ stdenv.mkDerivation rec {
"-DLINK_MUJS=OFF"
"-DLINK_GUMBO=ON"
"-DUSE_TRANSLATIONS=ON"
"-DQT_VERSION_MAJOR=${lib.versions.major qtbase.version}"
"-DQT_VERSION_MAJOR=${lib.versions.major qt6.qtbase.version}"
];

preFixup = ''
Expand All @@ -102,4 +96,4 @@ stdenv.mkDerivation rec {
];
mainProgram = "beamerpresenter";
};
}
})
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@
bzip2,
libiconv,
libxtst,
qtbase,
qtsvg,
qtwebengine,
qttools,
qtwayland,
qt5compat,
qtmultimedia,
wrapQtAppsHook,
qt6,
wrapGAppsHook3,
}:

Expand All @@ -44,18 +37,18 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
pkg-config
cmake
wrapQtAppsHook
qt6.wrapQtAppsHook
wrapGAppsHook3
];

buildInputs = [
qtbase
qtsvg
qttools
qtwebengine
qt5compat
qtmultimedia
qtwayland
qt6.qtbase
qt6.qtsvg
qt6.qttools
qt6.qtwebengine
qt6.qt5compat
qt6.qtmultimedia
qt6.qtwayland
libvorbis
tomlplusplus
fmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,12 @@
# buildInputs
libxscrnsaver,
magic-enum,

# nativeBuildInputs
qtbase,
qtconnectivity,
qtlanguageserver,
qttools,
qt6,
range-v3,
spdlog,
qtwayland,

# nativeBuildInputs
cmake,
wrapQtAppsHook,

# passthru
nix-update-script,
Expand Down Expand Up @@ -47,14 +40,14 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
libxscrnsaver
magic-enum
qtbase
qtconnectivity
qtlanguageserver
qttools
qt6.qtbase
qt6.qtconnectivity
qt6.qtlanguageserver
qt6.qttools
range-v3
spdlog
]
++ lib.optional stdenv.hostPlatform.isLinux qtwayland;
++ lib.optional stdenv.hostPlatform.isLinux qt6.qtwayland;

cmakeFlags = [
(lib.cmakeBool "KEMAI_ENABLE_UPDATE_CHECK" false)
Expand All @@ -63,7 +56,7 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
cmake
wrapQtAppsHook
qt6.wrapQtAppsHook
];

passthru = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
nix-update-script,
libkiwix,
pkg-config,
qmake,
qtbase,
qtwebengine,
qtsvg,
qtimageformats,
wrapQtAppsHook,
qt6,
aria2,
}:

Expand All @@ -30,17 +25,17 @@ stdenv.mkDerivation rec {
];

nativeBuildInputs = [
qmake
qt6.qmake
pkg-config
wrapQtAppsHook
qt6.wrapQtAppsHook
];

buildInputs = [
libkiwix
qtbase
qtwebengine
qtsvg
qtimageformats
qt6.qtbase
qt6.qtwebengine
qt6.qtsvg
qt6.qtimageformats
];

qtWrapperArgs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
lib,
fetchFromGitHub,
libxcb,
wrapQtAppsHook,
python3,
nix-update-script,
qtbase,
qt6,
}:

python3.pkgs.buildPythonApplication rec {
Expand All @@ -24,12 +23,12 @@ python3.pkgs.buildPythonApplication rec {

build-system = with python3.pkgs; [
setuptools
wrapQtAppsHook
qt6.wrapQtAppsHook
];

dependencies = with python3.pkgs; [
pyqt6
qtbase
qt6.qtbase
argcomplete
pillow
pyyaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
stdenv,
lib,
fetchFromGitHub,
qtbase,
qttools,
qtsvg,
qt6,
opencascade-occt,
libGLU,
cmake,
wrapQtAppsHook,
rustPlatform,
cargo,
rustc,
Expand All @@ -28,15 +25,15 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [
cmake
qttools
qtsvg
wrapQtAppsHook
qt6.qttools
qt6.qtsvg
qt6.wrapQtAppsHook
opencascade-occt
libGLU
cargo
rustc
];
buildInputs = [ qtbase ];
buildInputs = [ qt6.qtbase ];

cargoDeps1 = rustPlatform.fetchCargoVendor {
inherit src;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
lib,
fetchFromGitHub,
python3,
qtbase,
qtsvg,
qtwayland,
qt6,
nixosTests,
wrapQtAppsHook,
}:

python3.pkgs.buildPythonApplication rec {
Expand All @@ -32,12 +29,12 @@ python3.pkgs.buildPythonApplication rec {
];

buildInputs = [
qtwayland
qtbase
qtsvg # Needed for the systray icon
qt6.qtwayland
qt6.qtbase
qt6.qtsvg # Needed for the systray icon
];

nativeBuildInputs = [ wrapQtAppsHook ];
nativeBuildInputs = [ qt6.wrapQtAppsHook ];

dontWrapQtApps = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
which,
python3,
rsync,
wrapQtAppsHook,
qtbase,
qtpositioning,
qtsvg,
qtwayland,
qt6,
libGLU,
libGL,
zlib,
Expand Down Expand Up @@ -66,15 +62,15 @@ stdenv.mkDerivation (finalAttrs: {
which
python3
rsync
wrapQtAppsHook
qt6.wrapQtAppsHook
];

# Most dependencies are vendored
buildInputs = [
qtbase
qtpositioning
qtsvg
qtwayland
qt6.qtbase
qt6.qtpositioning
qt6.qtsvg
qt6.qtwayland
libGLU
libGL
zlib
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
stdenv,
fetchFromGitHub,
cmake,
qt6Packages,
qt6,
exiv2,
}:

Expand All @@ -20,12 +20,12 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
cmake
qt6Packages.qttools
qt6Packages.wrapQtAppsHook
qt6.qttools
qt6.wrapQtAppsHook
];

buildInputs = [
qt6Packages.qtsvg
qt6.qtsvg
exiv2
];

Expand Down
Loading
Loading