diff options
author | kiloreux <kiloreux@gmail.com> | 2018-03-30 11:05:47 +0100 |
---|---|---|
committer | kiloreux <kiloreux@gmail.com> | 2018-03-30 11:05:47 +0100 |
commit | 4e81ab3425921043763db5e140002bde1d9f47df (patch) | |
tree | ce0b54e0a04c959a64881cf5844ecbe17c4ebb76 /pkgs/development/libraries/libaom | |
parent | dc13867e99410b9f96e2b8f7a80e4247eeb1caf3 (diff) |
Added libaom
Diffstat (limited to 'pkgs/development/libraries/libaom')
-rw-r--r-- | pkgs/development/libraries/libaom/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libaom/default.nix b/pkgs/development/libraries/libaom/default.nix new file mode 100644 index 0000000000000..d11bec2cb4ff2 --- /dev/null +++ b/pkgs/development/libraries/libaom/default.nix @@ -0,0 +1,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; + }; +} \ No newline at end of file |