From 355e6317ba0a1d879c0b89641a2ceebc80a44548 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Tue, 28 Nov 2023 17:00:43 -0300 Subject: [PATCH] openshot-qt: 3.0.0 -> 3.1.1 --- .../video/openshot-qt/default.nix | 33 +++++++++++-------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix index f209c092bdc1..5c9b85e1f680 100644 --- a/pkgs/applications/video/openshot-qt/default.nix +++ b/pkgs/applications/video/openshot-qt/default.nix @@ -2,7 +2,6 @@ , stdenv , mkDerivationWith , fetchFromGitHub -, fetchpatch , doxygen , gtk3 , libopenshot @@ -12,16 +11,20 @@ , wrapGAppsHook }: -mkDerivationWith python3.pkgs.buildPythonApplication rec { +let pname = "openshot-qt"; - version = "3.0.0"; - + version = "3.1.1"; src = fetchFromGitHub { owner = "OpenShot"; repo = "openshot-qt"; rev = "v${version}"; - hash = "sha256-h4R2txi038m6tzdKYiXIB8CiqWt2MFFRNerp1CFP5as="; + hash = "sha256-kEz1APBitWLlnIbyloYMsqNrwC9RqU04kyyWzm5klYc="; }; +in +mkDerivationWith python3.pkgs.buildPythonApplication { + inherit pname version src; + + outputs = [ "out" ]; # "lib" can't be split nativeBuildInputs = [ doxygen @@ -41,8 +44,10 @@ mkDerivationWith python3.pkgs.buildPythonApplication rec { sip_4 ]; + strictDeps = true; + preConfigure = '' - # tries to create caching directories during install + # the builder tries to create caching directories during install export HOME=$(mktemp -d) ''; @@ -67,19 +72,19 @@ mkDerivationWith python3.pkgs.buildPythonApplication rec { inherit (libopenshot) libopenshot-audio; }; - meta = with lib; { + meta = { homepage = "http://openshot.org/"; description = "Free, open-source video editor"; longDescription = '' OpenShot Video Editor is a free, open-source video editor for Linux. - OpenShot can take your videos, photos, and music files and help you - create the film you have always dreamed of. Easily add sub-titles, - transitions, and effects, and then export your film to DVD, YouTube, - Vimeo, Xbox 360, and many other common formats. + OpenShot can take your videos, photos, and music files and help you create + the film you have always dreamed of. Easily add sub-titles, transitions, + and effects, and then export your film to DVD, YouTube, Vimeo, Xbox 360, + and many other common formats. ''; - license = with licenses; gpl3Plus; - maintainers = with maintainers; [ AndersonTorres ]; - platforms = with platforms; unix; + license = with lib.licenses; [ gpl3Plus ]; mainProgram = "openshot-qt"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.unix; }; }