summary refs log tree commit diff
path: root/pkgs/development/libraries/libaom
diff options
context:
space:
mode:
authorVladyslav Mykhailichenko <dywedir@pm.me>2018-07-04 01:09:38 +0300
committerVladyslav Mykhailichenko <dywedir@pm.me>2018-07-04 01:38:35 +0300
commitff50c613df5b23ea8d52fbc9d4bce33d81948ae4 (patch)
tree8e1dd98c6f38d129ab3e9368646c95f82cfe9721 /pkgs/development/libraries/libaom
parent6e98661a8939c090ac49aa1dfc3c9b10d23b8c47 (diff)
downloadnixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.tar
nixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.tar.gz
nixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.tar.bz2
nixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.tar.lz
nixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.tar.xz
nixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.tar.zst
nixpkgs-ff50c613df5b23ea8d52fbc9d4bce33d81948ae4.zip
libaom: 0.1.0 -> 1.0.0
Diffstat (limited to 'pkgs/development/libraries/libaom')
-rw-r--r--pkgs/development/libraries/libaom/default.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/pkgs/development/libraries/libaom/default.nix b/pkgs/development/libraries/libaom/default.nix
index d11bec2cb4f..b94c845479a 100644
--- a/pkgs/development/libraries/libaom/default.nix
+++ b/pkgs/development/libraries/libaom/default.nix
@@ -1,20 +1,17 @@
-{ stdenv, fetchgit, yasm, perl, cmake,  pkgconfig }:
+{ stdenv, fetchgit, yasm, perl, cmake, pkgconfig, python3Packages }:
 
 stdenv.mkDerivation rec {
-  name = "libaom-0.1.0";
+  name = "libaom-${version}";
+  version = "1.0.0";
 
   src = fetchgit {
     url = "https://aomedia.googlesource.com/aom";
-    rev	= "105e9b195bb90c9b06edcbcb13b6232dab6db0b7";
-    sha256 = "1fl2sca4df01gyn00s0xcwwirxccfnjppvjdrxdnb8f2naj721by";
+    rev	= "v${version}";
+    sha256 = "07h2vhdiq7c3fqaz44rl4vja3dgryi6n7kwbwbj1rh485ski4j82";
   };
 
-  buildInputs = [ perl yasm  ];
-  nativeBuildInputs = [ cmake pkgconfig ];
-
-  cmakeFlags = [
-    "-DCONFIG_UNIT_TESTS=0"
-  ];
+  buildInputs = [ perl yasm ];
+  nativeBuildInputs = [ cmake pkgconfig python3Packages.python ];
 
   meta = with stdenv.lib; {
     description = "AV1 Bitstream and Decoding Library";
@@ -22,4 +19,4 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ kiloreux ];
     platforms   = platforms.all;
   };
-}
\ No newline at end of file
+}