Merge pull request #236240 from wegank/freedv-bump

freedv: 1.8.9 -> 1.8.10.1
This commit is contained in:
Pol Dellaiera 2023-06-06 17:00:56 +02:00 committed by GitHub
commit bbec72b43b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 2 deletions

View File

@ -15,6 +15,7 @@
, speexdsp
, hamlib_4
, wxGTK32
, sioclient
, pulseSupport ? config.pulseaudio or stdenv.isLinux
, AppKit
, AVFoundation
@ -24,13 +25,13 @@
stdenv.mkDerivation rec {
pname = "freedv";
version = "1.8.9";
version = "1.8.10.1";
src = fetchFromGitHub {
owner = "drowe67";
repo = "freedv-gui";
rev = "v${version}";
hash = "sha256-HDHXVTkXC1fCqj4lnxURmXvQNtwDX4zA6/QFnYceUI4=";
hash = "sha256-m8Myo/5jt+rnV8cAR2p20aAHnbatTkIXGSVhLebAP9g=";
};
postPatch = lib.optionalString stdenv.isDarwin ''
@ -55,6 +56,7 @@ stdenv.mkDerivation rec {
speexdsp
hamlib_4
wxGTK32
sioclient
] ++ (if pulseSupport then [ libpulseaudio ] else [ portaudio ])
++ lib.optionals stdenv.isDarwin [
AppKit

View File

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, asio
, rapidjson
, websocketpp
}:
stdenv.mkDerivation {
pname = "sioclient";
version = "unstable-2023-02-13";
src = fetchFromGitHub {
owner = "socketio";
repo = "socket.io-client-cpp";
rev = "b10474e3eaa6b27e75dbc1382ac9af74fdf3fa85";
hash = "sha256-bkuFA6AvZvBpnO6Lixqx8Ux5Dy5NHWGB2y1VF7allC0=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
asio
rapidjson
websocketpp
];
meta = with lib; {
description = "C++11 implementation of Socket.IO client";
homepage = "https://github.com/socketio/socket.io-client-cpp";
license = licenses.mit;
maintainers = with maintainers; [ wegank ];
platforms = platforms.unix;
};
}

View File

@ -24078,6 +24078,8 @@ with pkgs;
simpleitk = callPackage ../development/libraries/simpleitk { lua = lua5_3; };
sioclient = callPackage ../development/libraries/sioclient { };
sfml = callPackage ../development/libraries/sfml {
inherit (darwin.apple_sdk.frameworks) IOKit Foundation AppKit OpenAL;
};