freedv: 1.9.3 -> 1.9.4

This commit is contained in:
Weijia Wang 2023-10-27 19:07:41 +02:00
parent 5655c7f0be
commit f88c5bb0b2

View File

@ -25,16 +25,18 @@
stdenv.mkDerivation rec {
pname = "freedv";
version = "1.9.3";
version = "1.9.4";
src = fetchFromGitHub {
owner = "drowe67";
repo = "freedv-gui";
rev = "v${version}";
hash = "sha256-tlkD8Kem4HPwrk3E98UKcPoBNoFucqarEBo+oihnQSU=";
hash = "sha256-3SQ3a1gg4/cXy8BJXazTgh6nkS/KQpM0fCA6JcbHOPc=";
};
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace CMakeLists.txt \
--replace "-Wl,-ld_classic" ""
substituteInPlace src/CMakeLists.txt \
--replace "\''${CMAKE_SOURCE_DIR}/macdylibbundler/dylibbundler" "dylibbundler"
sed -i "/hdiutil/d" src/CMakeLists.txt