diff --git a/pkgs/development/ocaml-modules/ffmpeg/base.nix b/pkgs/development/ocaml-modules/ffmpeg/base.nix index bf63c00378cc3..f44069429bd4b 100644 --- a/pkgs/development/ocaml-modules/ffmpeg/base.nix +++ b/pkgs/development/ocaml-modules/ffmpeg/base.nix @@ -1,13 +1,13 @@ { lib, fetchFromGitHub }: rec { - version = "1.1.11"; + version = "1.2.1"; src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-ffmpeg"; rev = "refs/tags/v${version}"; - sha256 = "sha256-Tr0YhoaaUSOlA7vlhAjPyFJI/iL7Z54oO27RnG7d+nA="; + sha256 = "sha256-Df+dU7Cd1rgsC/TelPzQ7wYlwsX9MGd8qcYsVN6dyMg="; }; meta = with lib; { diff --git a/pkgs/tools/audio/liquidsoap/full.nix b/pkgs/tools/audio/liquidsoap/full.nix index 0d526b2ce6aa9..5e9acac36a6f3 100644 --- a/pkgs/tools/audio/liquidsoap/full.nix +++ b/pkgs/tools/audio/liquidsoap/full.nix @@ -3,6 +3,7 @@ stdenv, makeWrapper, fetchFromGitHub, + fetchpatch, which, pkg-config, libjpeg, @@ -23,7 +24,7 @@ let pname = "liquidsoap"; - version = "2.2.5"; + version = "2.3.0"; in stdenv.mkDerivation { inherit pname version; @@ -32,9 +33,18 @@ stdenv.mkDerivation { owner = "savonet"; repo = "liquidsoap"; rev = "refs/tags/v${version}"; - hash = "sha256-o3P7oTizO2l2WkB4LormZ/Ses5jZOpgQ1r1zB1Y3Bjs="; + hash = "sha256-wNOENkIQw8LWfceI24aa8Ja3ZkePgTIGdIpGgqs/3Ss="; }; + patches = [ + # Compatibility with saturn_lockfree 0.5.0 + (fetchpatch { + url = "https://github.com/savonet/liquidsoap/commit/3d6d2d9cd1c7750f2e97449516235a692b28bf56.patch"; + includes = [ "src/*" ]; + hash = "sha256-pmC3gwmkv+Hat61aulNkTKS4xMz+4D94OCMtzhzNfT4="; + }) + ]; + postPatch = '' substituteInPlace src/lang/dune \ --replace-warn "(run git rev-parse --short HEAD)" "(run echo -n nixpkgs)" @@ -88,7 +98,7 @@ stdenv.mkDerivation { ocamlPackages.duppy ocamlPackages.mm ocamlPackages.ocurl - ocamlPackages.ocaml_pcre + ocamlPackages.re ocamlPackages.cry ocamlPackages.camomile ocamlPackages.uri @@ -96,10 +106,13 @@ stdenv.mkDerivation { ocamlPackages.magic-mime ocamlPackages.menhir # liquidsoap-lang ocamlPackages.menhirLib + ocamlPackages.mem_usage ocamlPackages.metadata ocamlPackages.dune-build-info ocamlPackages.re + ocamlPackages.saturn_lockfree # liquidsoap-lang ocamlPackages.sedlex # liquidsoap-lang + ocamlPackages.ppx_hash # liquidsoap-lang ocamlPackages.ppx_string # Recommended dependencies