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
This commit is contained in:
parent
b6956b5ef8
commit
8d56f162e5
1 changed files with 6 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
|||
{ lib, stdenv, fetchgit, yasm, perl, cmake, pkg-config, python3 }:
|
||||
{ lib, stdenv, fetchzip, yasm, perl, cmake, pkg-config, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libaom";
|
||||
version = "3.0.0";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://aomedia.googlesource.com/aom";
|
||||
rev = "v${version}";
|
||||
sha256 = "178rq1d7i9q4lg40bipkyhdrk18j9wi5k5avpa5bls0zm7g5ifsx";
|
||||
src = fetchzip {
|
||||
url = "https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz";
|
||||
sha256 = "1v3i34jmbz1p3x8msj3vx46nl6jdzxbkr2lfbh06vard8adb16il";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
patches = [ ./outputs.patch ];
|
||||
|
|
Loading…
Reference in a new issue