summary refs log tree commit diff
path: root/pkgs/development/libraries/libaom/default.nix
blob: d11bec2cb4ff212a208d7d022aaaed1ff6f39792 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchgit, yasm, perl, cmake,  pkgconfig }:

stdenv.mkDerivation rec {
  name = "libaom-0.1.0";

  src = fetchgit {
    url = "https://aomedia.googlesource.com/aom";
    rev	= "105e9b195bb90c9b06edcbcb13b6232dab6db0b7";
    sha256 = "1fl2sca4df01gyn00s0xcwwirxccfnjppvjdrxdnb8f2naj721by";
  };

  buildInputs = [ perl yasm  ];
  nativeBuildInputs = [ cmake pkgconfig ];

  cmakeFlags = [
    "-DCONFIG_UNIT_TESTS=0"
  ];

  meta = with stdenv.lib; {
    description = "AV1 Bitstream and Decoding Library";
    homepage    = https://aomedia.org/av1-features/get-started/;
    maintainers = with maintainers; [ kiloreux ];
    platforms   = platforms.all;
  };
}