From 129dcb9f7d26e8bf6920982b519bdffd27970742 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 23 Sep 2023 11:26:41 +0200 Subject: [PATCH 1/2] livecaptions: 0.4.0 -> 0.4.1 Signed-off-by: Sefa Eyeoglu --- pkgs/applications/misc/livecaptions/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/misc/livecaptions/default.nix b/pkgs/applications/misc/livecaptions/default.nix index 5ef779183608..d804a4ba881d 100644 --- a/pkgs/applications/misc/livecaptions/default.nix +++ b/pkgs/applications/misc/livecaptions/default.nix @@ -18,8 +18,8 @@ name = "april-asr"; owner = "abb128"; repo = "april-asr"; - rev = "c2f138c674cad58e2708ecaddc95cc72e7f85549"; - hash = "sha256-hZe2iss3BGdzeTM5FCp9wp6LaDOjtGJrZS5vB5F6uLg="; + rev = "3308e68442664552de593957cad0fa443ea183dd"; + hash = "sha256-/cOZ2EcZu/Br9v0ComxnOegcEtlC9e8FYt3XHfah7mE="; }; aprilModel = fetchurl { @@ -28,15 +28,15 @@ hash = "sha256-d+uV0PpPdwijfoaMImUwHubELcsl5jymPuo9nLrbwfM="; }; in - stdenv.mkDerivation rec { + stdenv.mkDerivation (finalAttrs: { pname = "livecaptions"; - version = "0.4.0"; + version = "0.4.1"; src = fetchFromGitHub { owner = "abb128"; repo = "LiveCaptions"; - rev = "v${version}"; - hash = "sha256-RepuvqNPHRGENupPG5ezadn6f7FxEUYFDi4+DpNanuA="; + rev = "v${finalAttrs.version}"; + hash = "sha256-x8NetSooIBlOKzKUMvDkPFtpD6EVGYECnaqWurySUDU="; }; nativeBuildInputs = [ @@ -73,4 +73,4 @@ in platforms = platforms.linux; maintainers = with maintainers; [Scrumplex]; }; - } + }) From 40a4f5eb85ccd39c97896479556d2c16343372cb Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 23 Sep 2023 11:29:06 +0200 Subject: [PATCH 2/2] livecaptions: set mainProgram Signed-off-by: Sefa Eyeoglu --- pkgs/applications/misc/livecaptions/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/livecaptions/default.nix b/pkgs/applications/misc/livecaptions/default.nix index d804a4ba881d..2d52e96fe359 100644 --- a/pkgs/applications/misc/livecaptions/default.nix +++ b/pkgs/applications/misc/livecaptions/default.nix @@ -72,5 +72,6 @@ in license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [Scrumplex]; + mainProgram = "livecaptions"; }; })