x264: 20191217-2245 -> unstable-2021-06-13 (#121385)

This commit is contained in:
ajs124 2021-09-04 16:56:22 +02:00 committed by GitHub
parent c7c7dddded
commit b1db7ae7fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,17 @@
{ stdenv, lib, fetchurl, nasm
{ stdenv, lib, fetchFromGitLab, nasm
, enableShared ? !stdenv.hostPlatform.isStatic
}:
stdenv.mkDerivation rec {
pname = "x264";
version = "20191217-2245";
version = "unstable-2021-06-13";
src = fetchurl {
url = "https://download.videolan.org/x264/snapshots/x264-snapshot-${version}-stable.tar.bz2";
sha256 = "0q214q4rhbhigyx3dfhp6d5v5gzln01cxccl153ps5ih567mqjdj";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = "5db6aa6cab1b146e07b60cc1736a01f21da01154";
sha256 = "0swyrkz6nvajivxvrr08py0jrfcsjvpxw78xm1k5gd9xbdrxvknh";
};
# Upstream ./configure greps for (-mcpu|-march|-mfpu) in CFLAGS, which in nix