From 0b645c685a43456bd1927877401a29d6ca4b2cea Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Sun, 19 Nov 2023 11:45:52 +0300 Subject: [PATCH 1/2] subtitleedit: refactor --- .../video/subtitleedit/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/video/subtitleedit/default.nix b/pkgs/applications/video/subtitleedit/default.nix index 7ab14d8c1e67..0b14a332d9a2 100644 --- a/pkgs/applications/video/subtitleedit/default.nix +++ b/pkgs/applications/video/subtitleedit/default.nix @@ -1,17 +1,19 @@ { lib , stdenv -, copyDesktopItems -, makeDesktopItem -, makeWrapper , fetchzip +, makeDesktopItem +, nix-update-script + +, copyDesktopItems +, icoutils +, makeWrapper + , ffmpeg , gtk2 , hunspell -, icoutils , mono , mpv , tesseract4 -, nix-update-script }: stdenv.mkDerivation rec { @@ -80,16 +82,16 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A subtitle editor"; - homepage = "https://nikse.dk/subtitleedit"; - license = licenses.gpl3Plus; longDescription = '' With Subtitle Edit you can easily adjust a subtitle if it is out of sync with the video in several different ways. You can also use it for making new subtitles from scratch (using the time-line /waveform/spectrogram) or for translating subtitles. ''; - maintainers = with maintainers; [ paveloom ]; + homepage = "https://nikse.dk/subtitleedit"; + license = licenses.gpl3Plus; platforms = platforms.all; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + maintainers = with maintainers; [ paveloom ]; }; } From bd38dae3015463667079455109475b6cd9e8950b Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Sun, 19 Nov 2023 11:54:09 +0300 Subject: [PATCH 2/2] subtitleedit: 4.0.1 -> 4.0.2 --- pkgs/applications/video/subtitleedit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/subtitleedit/default.nix b/pkgs/applications/video/subtitleedit/default.nix index 0b14a332d9a2..88018e5a5612 100644 --- a/pkgs/applications/video/subtitleedit/default.nix +++ b/pkgs/applications/video/subtitleedit/default.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { pname = "subtitleedit"; - version = "4.0.1"; + version = "4.0.2"; src = fetchzip { url = "https://github.com/SubtitleEdit/subtitleedit/releases/download/${version}/SE${lib.replaceStrings [ "." ] [ "" ] version}.zip"; - hash = "sha256-Z7NVn4F19Hx55YWPNmbpWZ8yQulXd50bcy2A/8pCqJ4="; + hash = "sha256-kcs2h6HeWniJhGDNsy+EBauXbiDIlLCOJkVOCIzLBzM="; stripRoot = false; };