From 7a49338e4c50e100f9caad0eae129abcbbad79b9 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Mon, 20 Oct 2025 10:21:32 -0700 Subject: [PATCH] fix(packages): openwebrxplus --- packages/openwebrxplus.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/packages/openwebrxplus.nix b/packages/openwebrxplus.nix index 848e80bc..0cf9d72e 100644 --- a/packages/openwebrxplus.nix +++ b/packages/openwebrxplus.nix @@ -14,6 +14,7 @@ rtl-sdr, soapysdr-with-plugins, pydigiham, + digiham, direwolf, sox, wsjtx, @@ -100,6 +101,8 @@ libsamplerate ]; + cmakeFlags = [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ]; + hardeningDisable = lib.optional stdenv.isAarch64 "format"; postFixup = '' @@ -117,6 +120,15 @@ maintainers = teams.c3d2.members; }; }; + digiham' = (digiham.override { + inherit csdr; + }).overrideAttrs (old: { + cmakeFlags = [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ]; + }); + pydigiham' = pydigiham.override (old: { + digiham = digiham'; + inherit pycsdr; + }); pycsdr-eti = buildPythonPackage rec { pname = "pycsdr-eti"; @@ -165,7 +177,7 @@ hash = "sha256-NjRBC7bhq2bMlRI0Q8bcGcneD/HlAO6l/0As3/lk4e8="; }; - buildInputs = [csdr]; + propagatedBuildInputs = [csdr]; # has no tests doCheck = false; @@ -204,6 +216,8 @@ soapysdr-with-plugins ]; + cmakeFlags = [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ]; + meta = with lib; { homepage = "https://github.com/jketterl/owrx_connector"; description = "A set of connectors that are used by OpenWebRX to interface with SDR hardware"; @@ -229,7 +243,7 @@ in propagatedBuildInputs = [ pycsdr pycsdr-eti - pydigiham + pydigiham' js8py owrx_connector soapysdr-with-plugins