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

x265: 2.7 -> 2.9 #49540

Closed
wants to merge 2 commits into from
Closed

x265: 2.7 -> 2.9 #49540

wants to merge 2 commits into from

Conversation

grische
Copy link
Contributor

@grische grische commented Oct 31, 2018

Encoder enhancements, AVX-512 support, ...

Motivation for this change
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 (WSL)
  • 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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

Encoder enhancements, AVX-512 support, ...
@@ -16,14 +16,14 @@ in

stdenv.mkDerivation rec {
name = "x265-${version}";
version = "2.7";
version = "2.9";

src = fetchurl {
urls = [
"http://get.videolan.org/x265/x265_${version}.tar.gz"
"https://github.com/videolan/x265/archive/${version}.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

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

GitHub archive tarballs are not stable over time. Once it gets regenerated the expected SHA hash won't match.

As an alternative URL we could instead use one of:
http://ftp.videolan.org/pub/videolan/x265/x265_2.9.tar.gz
ftp://ftp.videolan.org/pub/videolan/x265/x265_2.9.tar.gz
https://bitbucket.org/multicoreware/x265/downloads/x265_2.9.tar.gz

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What about just removing the github link?

Copy link
Contributor

Choose a reason for hiding this comment

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

It would work too yes. But then we lose the insurance of having a fallback server to fetch from.
Not that this is a critical piece of software in the whole <nixpkgs> set but some day the fallback could avoid a number of Hydra build failures.

Co-Authored-By: grische <grische@users.noreply.github.com>
@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 14, 2018

I'll push this to staging (because of the rebuilds number) with PR #50362
Thanks for the original commit.

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

5 participants