From 6dfdc15ac3765e53947f2773c01cc0160ee3d45c Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 16 Aug 2020 01:57:05 +0100 Subject: gpac: 0.8.0 -> 1.0.0 addressing numerous CVEs --- pkgs/applications/video/gpac/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/gpac/default.nix b/pkgs/applications/video/gpac/default.nix index e587a5999054d..4fcff75f09566 100644 --- a/pkgs/applications/video/gpac/default.nix +++ b/pkgs/applications/video/gpac/default.nix @@ -1,16 +1,20 @@ { stdenv, fetchFromGitHub, pkgconfig, zlib }: stdenv.mkDerivation rec { - version = "0.8.0"; + version = "1.0.0"; pname = "gpac"; src = fetchFromGitHub { owner = "gpac"; repo = "gpac"; rev = "v${version}"; - sha256 = "1w1dyrn6900yi8ngchfzy5hvxr6yc60blvdq8y8mczimmmq8khb5"; + sha256 = "11jrklaahhdfqhci7f3lzv8wchh9bc91rg6w8ibh6varrk692vsb"; }; + postPatch = '' + substituteInPlace Makefile --replace 'dh_link' 'ln -s' + ''; + # this is the bare minimum configuration, as I'm only interested in MP4Box # For most other functionality, this should probably be extended nativeBuildInputs = [ pkgconfig ]; -- cgit 1.4.1