anchor.diff:    name = "x264-${version}";
   
     src = fetchurl {
  -    url = "mirror://videolan/x264/snapshots/"
  -      + "x264-snapshot-${version}-2245-stable.tar.bz2";
  -    sha256 = "abc78afa599d53eb48922ab1911a3bfb40b02dad882dd80ef9474aeefdd44e82";
  +    url = "http://x264.tar.xz";
  +    multihash = "QmfTkaU5QeiP5jc47RTB34sakdtHEHhAEznWUfo6qeUabX";
  +    sha256 = "04a61a93d53476fbd21fad6dcb1271ec2b80a1ece203f120414d4588d0867d87";
     };
   
     nativeBuildInputs = [
  -    yasm
  +    nasm
     ];
   
     postPatch = ''
  
positive.code: { stdenv
  , fetchurl
  , lib
  , yasm
  
  , enable10bit ? false
  }:
  
  let
    version = "20170926";
  
negative.code:     "--disable-lsmash"
    ];
  
    passthru = {
      generateDistTarball = stdenv.mkDerivation rec {
        name = "x264-${version}";
  
        src = fetchgit {
          version = 3;
          url = "https://git.videolan.org/git/x264.git";
          rev = "ba24899b0bf23345921da022f7a51e0c57dbe73d";
          sha256 = "94848774bf01b86f968f0433ba46271f000943e2bbff7f6f5c1af610114f3f13";
        };
  
        configurePhase = ":";
  
        buildPhase = ''
          tar -Jcvf x264-${version}.tar.xz ../x264*/*
        '';
  
        installPhase = ''
          install -D -m644 -v 'x264-${version}.tar.xz' \
            "$out/x264-${version}.tar.xz"
        '';
      };
    };
  
    meta = with lib; {
      description = "Library for encoding h.264/AVC video streams";
      homepage = https://www.videolan.org/developers/x264.html;
  