Skip to content

Commit

Permalink
ffmpeg-full: inherit src/version from ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq authored and Profpatsch committed Jun 9, 2020
1 parent a505e9d commit 2c79d7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pkgs/development/libraries/ffmpeg-full/default.nix
@@ -1,4 +1,4 @@
{ stdenv, addOpenGLRunpath, fetchurl, fetchpatch, pkgconfig, perl, texinfo, yasm
{ stdenv, ffmpeg, addOpenGLRunpath, fetchurl, fetchpatch, pkgconfig, perl, texinfo, yasm
/*
* Licensing options (yes some are listed twice, filters and such are not listed)
*/
Expand Down Expand Up @@ -239,12 +239,7 @@ assert opensslExtlib -> gnutls == null && openssl != null && nonfreeLicensing;

stdenv.mkDerivation rec {
pname = "ffmpeg-full";
version = "4.2.3";

src = fetchurl {
url = "https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.bz2";
sha256 = "0pkrariwjv25k7inwshch7b5820ly3hsp991amyb60rkqc8v4zi1";
};
inherit (ffmpeg) src version;

patches = [ ./prefer-libdav1d-over-libaom.patch ];

Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -11681,6 +11681,8 @@ in
ffmpeg = ffmpeg_3;

ffmpeg-full = callPackage ../development/libraries/ffmpeg-full {
ffmpeg = ffmpeg_4;

# The following need to be fixed on Darwin
frei0r = if stdenv.isDarwin then null else frei0r;
game-music-emu = if stdenv.isDarwin then null else game-music-emu;
Expand Down

0 comments on commit 2c79d7f

Please sign in to comment.