Skip to content
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

vlc: Add libssh2 as dependency to support sftp inputs #69394

Merged
merged 1 commit into from Sep 27, 2019

Conversation

esclear
Copy link
Contributor

@esclear esclear commented Sep 24, 2019

Motivation for this change

This adds libssh2 as a dependency to vlc, thus making it possible to watch videos hosted on sftp servers.
I think this is justifiable, since samba is currently a dependency as well.
If not, I'm fine with using a local overlay in my configuration, although I'd prefer not having to build vlc myself on updates.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

No maintainers specified in the .nix file.

@aanderse
Copy link
Member

@GrahamcOfBorg build vlc

Copy link
Member

@aanderse aanderse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If anyone finds issue I suppose we could always make various support options (such as sshSupport, sambaSupport, etc... 🤷‍♂️ personally I think this is good to go as is, though 👍

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix-review passes on NixOS (1 broken on master)
diff LGTM
executables seem to work ( didn't test sftp use case)

[15 built (1 failed)]
error: build of '/nix/store/9vj45al5adv4491vzxmrjg5sdsphf77y-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/69394
1 package are marked as broken and were skipped:
tomahawk

1 package failed to build:
obs-linuxbrowser

12 package were build:
cantata elisa libsForQt5.phonon-backend-vlc vlc libsForQt511.phonon-backend-vlc libsForQt511.vlc megaglest minitube obs-studio phonon-backend-vlc strawberry tribler

@aanderse
Copy link
Member

I tried to play a stream over sftp and got this error: sftp stream error: Host uses unrecognized session-key algorithm

Any ideas? Has anyone successfully tested this?

@esclear
Copy link
Contributor Author

esclear commented Sep 27, 2019

I have successfully used it over the last few days.

But I can't check which session-key algorithm is used, at the moment.
Did you configure any non-default setting?

@aanderse
Copy link
Member

Good enough for me. Problem exists between keyboard and chair... just wanted to confirm. Thanks!

@aanderse aanderse merged commit 1c12e86 into NixOS:master Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants