nixpkgs/pkgs/development/libraries/libaom/default.nix

24 lines
683 B
Nix
Raw Normal View History

2018-07-03 23:09:38 +01:00
{ stdenv, fetchgit, yasm, perl, cmake, pkgconfig, python3Packages }:
2018-03-30 11:05:47 +01:00
stdenv.mkDerivation rec {
2018-07-03 23:09:38 +01:00
name = "libaom-${version}";
version = "1.0.0";
2018-03-30 11:05:47 +01:00
src = fetchgit {
url = "https://aomedia.googlesource.com/aom";
2018-07-03 23:09:38 +01:00
rev = "v${version}";
sha256 = "07h2vhdiq7c3fqaz44rl4vja3dgryi6n7kwbwbj1rh485ski4j82";
2018-03-30 11:05:47 +01:00
};
2018-07-03 23:09:38 +01:00
buildInputs = [ perl yasm ];
nativeBuildInputs = [ cmake pkgconfig python3Packages.python ];
2018-03-30 11:05:47 +01:00
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;
2018-10-17 19:06:06 +01:00
license = licenses.bsd2;
2018-03-30 11:05:47 +01:00
};
2018-07-03 23:09:38 +01:00
}