diff --git a/pkgs/applications/radio/welle-io/default.nix b/pkgs/applications/radio/welle-io/default.nix index 39ebfe888639..5a4ce6a9bca1 100644 --- a/pkgs/applications/radio/welle-io/default.nix +++ b/pkgs/applications/radio/welle-io/default.nix @@ -1,20 +1,40 @@ -{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config -, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects -, faad2, rtl-sdr, soapysdr-with-plugins, libusb-compat-0_1, fftwSinglePrec, lame, mpg123 -} : +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + pkg-config, + wrapQtAppsHook, + qtbase, + qtcharts, + qtmultimedia, + qtdeclarative, + qt5compat, + faad2, + rtl-sdr, + soapysdr-with-plugins, + libusb-compat-0_1, + fftwSinglePrec, + lame, + mpg123, +}: -mkDerivation rec { +stdenv.mkDerivation rec { pname = "welle-io"; - version = "2.4"; + version = "2.5"; src = fetchFromGitHub { owner = "AlbrechtL"; repo = "welle.io"; rev = "v${version}"; - sha256 = "sha256-xXiCL/A2SwCSr5SA4AQQEdieRzBksXx9Z78bHtlFiW4="; + hash = "sha256-sSknzZiD9/MLyO+gAYopogOQu5HRcqaRcfqwq4Rld7A="; }; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ + cmake + pkg-config + wrapQtAppsHook + ]; buildInputs = [ faad2 @@ -25,22 +45,27 @@ mkDerivation rec { qtbase qtcharts qtmultimedia - qtquickcontrols - qtquickcontrols2 - qtgraphicaleffects + qt5compat rtl-sdr soapysdr-with-plugins ]; cmakeFlags = [ - "-DRTLSDR=true" "-DSOAPYSDR=true" + "-DRTLSDR=true" + "-DSOAPYSDR=true" ]; - meta = with lib; { + meta = { description = "DAB/DAB+ Software Radio"; homepage = "https://www.welle.io/"; - maintainers = with maintainers; [ ck3d markuskowa ]; - license = licenses.gpl2Only; - platforms = [ "x86_64-linux" "i686-linux" ] ++ platforms.darwin; + maintainers = with lib.maintainers; [ + ck3d + markuskowa + ]; + license = lib.licenses.gpl2Only; + platforms = [ + "x86_64-linux" + "i686-linux" + ] ++ lib.platforms.darwin; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e788eed75d9b..0c3510084949 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29364,7 +29364,7 @@ with pkgs; wavrsocvt = callPackage ../applications/misc/audio/wavrsocvt { }; - welle-io = libsForQt5.callPackage ../applications/radio/welle-io { }; + welle-io = qt6Packages.callPackage ../applications/radio/welle-io { }; wireshark = qt6Packages.callPackage ../applications/networking/sniffers/wireshark { inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices SystemConfiguration;