New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
freeswitch: 1.10.3 -> 1.10.5 #96987
freeswitch: 1.10.3 -> 1.10.5 #96987
Conversation
stdenv.mkDerivation rec { | ||
version = "0.0.6"; | ||
version = "3.0.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenWRT folks decided to package this as separate package, maybe we should too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe. I don't remember what else uses this and generally we try to avoid multiple versions of libraries, but in this case it seems reasonable to duplicate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked again. The only other things using spandsp
are:
- pkgs/development/libraries/gstreamer/bad/default.nix
- pkgs/applications/networking/instant-messengers/baresip/default.nix
Which both seem to compile fine with this update. So I'd actually rather not duplicate this.
meta = { | ||
description = "A portable and modular SIP User-Agent with audio and video support"; | ||
homepage = "http://www.creytiv.com/baresip.html"; | ||
homepage = "https://github.com/freeswitch/spandsp"; | ||
platforms = with stdenv.lib.platforms; linux; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = with stdenv.lib.platforms; linux; | |
platforms = with stdenv.lib.platforms; unix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested this? I don't really have any way to test this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested macos 10.14, builds successfully.
|
||
meta = with stdenv.lib; { | ||
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification"; | ||
homepage = "http://sofia-sip.sourceforge.net/"; | ||
homepage = "https://github.com/freeswitch/sofia-sip"; | ||
platforms = platforms.linux; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = platforms.linux; | |
platforms = platforms.unix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does build on macos 10.14 if you provide it with the buildInput
darwin.apple_sdk.frameworks.SystemConfiguration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do have quite a bit of stuff with platform-conditional build inputs.
Enabling both libs for darwin allows us to attempt building
|
this last release on sourceforge is from 2011-03-11 freeswitch seems to be using this and working on it, so we're switching to their repo
this looks like a new upstream and freeswitch uses this
now depends on spandsp and sofia_sip instead of carrying them in-tree
d8b9301
to
8385c2f
Compare
src = fetchFromGitHub { | ||
owner = "freeswitch"; | ||
repo = pname; | ||
rev = "6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6"; # upstream does not seem to believe in tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add commit timestamp in the comments for easier later verification?
Does anyone has enough confidence about the NixOS test for freeswitch to confirm that the test failure is a problem with Python harness and everything inside the VM actually worked just fine? It looks like that… |
It works on top of |
@risicle feel free to mention me if you want to merge some macOS build fixes for that… |
Motivation for this change
Upstream release.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)