diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2020-03-06 21:21:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 21:21:39 +0100 |
commit | 4babdd0bac48fc36cd7b2756320ab9982e434d02 (patch) | |
tree | ba3b73bf063f6dfb0aed51ab453ead97b146ab7d | |
parent | d3f3e83c47dbbd6c2ed3d5cf6c581fc47c084a72 (diff) |
dav1d: 0.5.2 -> 0.6.0 (#81900)
-rw-r--r-- | pkgs/development/libraries/dav1d/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/development/libraries/dav1d/default.nix b/pkgs/development/libraries/dav1d/default.nix index 5542a37661aca..6b238074fcabf 100644 --- a/pkgs/development/libraries/dav1d/default.nix +++ b/pkgs/development/libraries/dav1d/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitLab +{ stdenv, fetchFromGitLab, fetchpatch , meson, ninja, nasm, pkgconfig , withTools ? false # "dav1d" binary , withExamples ? false, SDL2 # "dav1dplay" binary @@ -9,16 +9,23 @@ assert useVulkan -> withExamples; stdenv.mkDerivation rec { pname = "dav1d"; - version = "0.5.2"; + version = "0.6.0"; src = fetchFromGitLab { domain = "code.videolan.org"; owner = "videolan"; repo = pname; rev = version; - sha256 = "0acxlgyz6c8ckw8vfgn60y2zg2n00l5xsq5jlxvwbh5w5pkc3ahf"; + sha256 = "1gr859xzbqrsp892v9zzzgrg8smnnzgc1jmb68qzl54a4g6jrxm0"; }; + patches = [ + (fetchpatch { + url = "https://code.videolan.org/videolan/dav1d/-/commit/e04227c5f6729b460e0b8e5fb52eae2d5acd15ef.patch"; + sha256 = "18mpvwviqx0x9k6av98vgpjqlzcjd89g8496zsbf57bw5dadij3l"; + }) + ]; + nativeBuildInputs = [ meson ninja nasm pkgconfig ]; # TODO: doxygen (currently only HTML and not build by default). buildInputs = stdenv.lib.optional withExamples SDL2 @@ -38,6 +45,8 @@ stdenv.mkDerivation rec { subsampling and bit-depth parameters. ''; inherit (src.meta) homepage; + changelog = "https://code.videolan.org/videolan/dav1d/-/tags/${version}"; + # More technical: https://code.videolan.org/videolan/dav1d/blob/${version}/NEWS license = licenses.bsd2; platforms = platforms.unix; maintainers = with maintainers; [ primeos ]; |