-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
calls: init at 0.0.1 #65362
calls: init at 0.0.1 #65362
Conversation
Resolves #65361 |
I had not found this. I'll make sure I hook everything I'm doing back into that. Thanks! |
I had a read of #57614 and note that he had put it "networking" where as I had put it in "radio". Any thoughts on the correct location? |
A calling application would be a networking application. Additionally all the applications in that directory have no relation to this one. |
I can see why that would be applicable, but this application is using modem manager to use operate a mobile phone radio to place phone calls across a mobile phone network. Happy to switch this to "networking", just wanted to make it clear that this was not a VOIP application. |
Indeed, but I think it has fallen out of fashion to refer to those things as "radio" even though it's correct. also
|
calls has now been moved to networking. |
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.
You need to call this package in all-packages.nix
.
Additonally, can you match the code style of ddee3c8 and *Inputs?
Currently the dependencies are declared improperly, and we shouldn't have to reference anything under the gnome3
attribute.
Thanks for your time and input @worldofpeace I originally based this work on how the related package, libhandy was packaged so your corrections and guidance have been helpful. If I've understood your suggestions correctly, this last commit should be what you're looking for. |
Finally bumped |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/github-label-for-prs-for-librem-5-related-packages/3653/3 |
Doesn't this need other software/services like how #57614 mentioned? |
checkInputs = [ | ||
dbus | ||
xvfb_run | ||
xlibs.xauth |
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.
xlibs.xauth | |
xorg.xauth |
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.
What the heck is this commit set: ~/P/nixpkgs ((3a0f023e…)|…)
$ git hub pull checkout 65362
Fetching pull/65362/head from git@github.com:NixOS/nixpkgs.git
~/P/nixpkgs ((6e99182f…)|…)
$ git rebase channels/nixos-unstable
First, rewinding head to replay your work on top of it...
Applying: calls: Initial commit to package the application
Applying: Corrected licence
Applying: Corrected licence
Using index info to reconstruct a base tree...
M pkgs/applications/radio/calls/default.nix
Falling back to patching base and 3-way merge...
Auto-merging pkgs/applications/radio/calls/default.nix
No changes -- Patch already applied.
~/P/nixpkgs ((07e4206a…)|…)
$ nix-build -A calls
error: attribute 'calls' in selection path 'calls' not found |
I've pushed a version with a cleaned-up history, upgraded to a recent version from upstream git, and tested the application as far as I could (I haven't managed to bend ModemManager to my will yet, but calls seems fine). Will merge on Monday if nobody objects, or as soon as someone approves :) |
nativeBuildInputs = [ | ||
meson ninja pkgconfig libhandy modemmanager desktop-file-utils | ||
]; | ||
buildInputs = [ libhandy gnome3.gsound gtk3 gnome3.libpeas gom libxml2 evolution_data_server ]; |
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.
buildInputs = [ libhandy gnome3.gsound gtk3 gnome3.libpeas gom libxml2 evolution_data_server ]; | |
buildInputs = [ libhandy gsound gtk3 libpeas gom libxml2 evolution-data-server ]; |
old aliases
}; | ||
|
||
nativeBuildInputs = [ | ||
meson ninja pkgconfig libhandy modemmanager desktop-file-utils |
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.
why is modemanager and libhandy native?
@lheckemann This was never moved to networking #65362 (comment). |
@lheckemann Can we format the expression as @jtojnar https://github.com/NixOS/nixpkgs/blob/4bc5288ac9f6d99ca595433fcaf9fa4ca9fbe5a5/pkgs/applications/networking/calls/default.nix. |
Wow, that was a funky history. Rebase completely failed..? Anyway, here's my second cleanup attempt :) |
|
||
stdenv.mkDerivation rec { | ||
pname = "calls"; | ||
version = "2019-10-09-unstable"; |
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.
unstable
in pname
.
]; | ||
buildInputs = [ | ||
libhandy | ||
evolution_data_server |
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.
evolution_data_server | |
evolution-data-server |
@lheckemann |
ee3b060
to
694a191
Compare
calls: init at 0.0.1 (cherry picked from commit da9b3ea)
Motivation for this change
The calls application is required to provide phone calls for the Librem 5 phone.
This is the initial commit for this application to be packaged for NixOS and the first step to getting NixOS to fully support the Librem 5 phone.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)