From f5998af2f42a0011170883f2ab9a1420457b9368 Mon Sep 17 00:00:00 2001 From: Mutsuha Asada Date: Fri, 17 Jan 2025 23:29:34 +0900 Subject: [PATCH] =?UTF-8?q?liquidsoap:=202.2.5=20=E2=86=92=202.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ocamlPackages.ffmpeg: 1.1.11 -> 1.2.1 Changelog: https://github.com/savonet/ocaml-ffmpeg/releases/tag/v1.2.1 Diff: https://github.com/savonet/ocaml-ffmpeg/compare/v1.1.11...v1.2.1 --- .../development/ocaml-modules/ffmpeg/base.nix | 4 ++-- pkgs/tools/audio/liquidsoap/full.nix | 19 ++++++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) 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