libaom: 0.1.0 -> 1.0.0

This commit is contained in:
Vladyslav Mykhailichenko 2018-07-04 01:09:38 +03:00
parent 6e98661a89
commit ff50c613df

View File

@ -1,20 +1,17 @@
{ stdenv, fetchgit, yasm, perl, cmake, pkgconfig }: { stdenv, fetchgit, yasm, perl, cmake, pkgconfig, python3Packages }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libaom-0.1.0"; name = "libaom-${version}";
version = "1.0.0";
src = fetchgit { src = fetchgit {
url = "https://aomedia.googlesource.com/aom"; url = "https://aomedia.googlesource.com/aom";
rev = "105e9b195bb90c9b06edcbcb13b6232dab6db0b7"; rev = "v${version}";
sha256 = "1fl2sca4df01gyn00s0xcwwirxccfnjppvjdrxdnb8f2naj721by"; sha256 = "07h2vhdiq7c3fqaz44rl4vja3dgryi6n7kwbwbj1rh485ski4j82";
}; };
buildInputs = [ perl yasm ]; buildInputs = [ perl yasm ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig python3Packages.python ];
cmakeFlags = [
"-DCONFIG_UNIT_TESTS=0"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "AV1 Bitstream and Decoding Library"; description = "AV1 Bitstream and Decoding Library";