Unverified Commit fc8d1962 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

serial-studio: 3.1.10-unstable-2025-12-12 → 3.2.4

parent 051d8106
Loading
Loading
Loading
Loading
+10 −13
Original line number Diff line number Diff line
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index e69150cd..c4ce7975 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -392,17 +392,6 @@
   set(deploy_tool_options_arg "-force-openssl --release --no-translations")
diff --git i/app/CMakeLists.txt w/app/CMakeLists.txt
index 1ab415ea..23792435 100644
--- i/app/CMakeLists.txt
+++ w/app/CMakeLists.txt
@@ -872,17 +872,6 @@ elseif(WIN32)
   set(deploy_tool_options_arg "-force-openssl --release --no-translations --no-compiler-runtime")
 endif()
 
-qt_generate_deploy_qml_app_script(
@@ -17,9 +17,6 @@ index e69150cd..c4ce7975 100644
-
-install(SCRIPT ${deploy_script})
-
 #-------------------------------------------------------------------------------
 # Packaging
 #-------------------------------------------------------------------------------
-- 
2.47.2
 #---------------------------------------------------------------------------------------------------
 # CPack installer/package generation
 #---------------------------------------------------------------------------------------------------
+23 −7
Original line number Diff line number Diff line
@@ -4,29 +4,34 @@
  fetchFromGitHub,
  cmake,
  qt6,
  expat,
  zlib,
  pkg-config,
  wrapGAppsHook3,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "serial-studio";
  version = "3.1.10-unstable-2025-12-12";
  version = "3.2.4";

  src = fetchFromGitHub {
    owner = "Serial-Studio";
    repo = "Serial-Studio";
    rev = "b2e8b5430da59969dd697636677873f3f6c10c7c";
    hash = "sha256-O/KAYKpVGn2Q0CPaReh564P5l+ilHuQYRJ4w5aFKZmg=";
    fetchSubmodules = true;
    tag = "v${finalAttrs.version}";
    hash = "sha256-KY7ePFeO29jKnaFbP5IJo1Z/OqldTvmZUGuzZ+yqyK8=";
  };

  nativeBuildInputs = [
    cmake
    qt6.wrapQtAppsHook
    pkg-config
    wrapGAppsHook3 # required for FileChooser
  ];

  buildInputs = [
    expat
    zlib
    qt6.qtbase
    qt6.qtdeclarative
    qt6.qtsvg
@@ -39,12 +44,23 @@ stdenv.mkDerivation (finalAttrs: {
    qt6.qt5compat
  ];

  cmakeFlags = [
    (lib.cmakeBool "USE_SYSTEM_ZLIB" true)
    (lib.cmakeBool "USE_SYSTEM_EXPAT" true)
  ];

  patches = [ ./0001-CMake-Deploy-Fix.patch ];

  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
    mkdir -p $out/{Applications,bin}
    mv $out/Serial-Studio-GPL3.app $out/Applications
    ln --symbolic $out/Applications/Serial-Studio-GPL3.app/Contents/MacOS/Serial-Studio-GPL3 $out/bin/serial-studio
    ln -s $out/Applications/Serial-Studio-GPL3.app/Contents/MacOS/Serial-Studio-GPL3 $out/bin/serial-studio-gpl3
  '';

  dontWrapGApps = true;

  preFixup = ''
    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';

  passthru.updateScript = nix-update-script {
@@ -53,8 +69,8 @@ stdenv.mkDerivation (finalAttrs: {

  meta = {
    description = "Multi-purpose serial data visualization & processing program";
    mainProgram = "serial-studio";
    homepage = "https://serial-studio.github.io/";
    mainProgram = "serial-studio-gpl3";
    homepage = "https://serial-studio.com/";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ sikmir ];
    platforms = lib.platforms.unix;