Unverified Commit be57e000 authored by Felix Bühler's avatar Felix Bühler Committed by GitHub
Browse files

Merge pull request #263816 from wegank/freedv-bump

freedv: 1.9.3 -> 1.9.4
parents f177b76b f88c5bb0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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