Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libaom: 3.0.0 -> 3.1.0

We had to use fetchgit so far as the tarballs are generated on demand
and have embedded timestamps which makes their hashes unstable [0][1].
This is a problem for fetchurl but fetchzip extracts the tarballs into
the Nix store and therefore the contents will get normalized and the
hashes remain stable.

[0]: https://github.com/google/gitiles/issues/84
[1]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=548312

+6 -6
+6 -6
pkgs/development/libraries/libaom/default.nix
··· 1 - { lib, stdenv, fetchgit, yasm, perl, cmake, pkg-config, python3 }: 1 + { lib, stdenv, fetchzip, yasm, perl, cmake, pkg-config, python3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libaom"; 5 - version = "3.0.0"; 5 + version = "3.1.0"; 6 6 7 - src = fetchgit { 8 - url = "https://aomedia.googlesource.com/aom"; 9 - rev = "v${version}"; 10 - sha256 = "178rq1d7i9q4lg40bipkyhdrk18j9wi5k5avpa5bls0zm7g5ifsx"; 7 + src = fetchzip { 8 + url = "https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz"; 9 + sha256 = "1v3i34jmbz1p3x8msj3vx46nl6jdzxbkr2lfbh06vard8adb16il"; 10 + stripRoot = false; 11 11 }; 12 12 13 13 patches = [ ./outputs.patch ];