gpac: 0.8.0 -> 1.0.0

addressing numerous CVEs
This commit is contained in:
Robert Scott 2020-08-16 01:57:05 +01:00
parent b7be00ad5e
commit 6dfdc15ac3

View file

@ -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 ];