Skip to content

Commit

Permalink
openshot-qt: 3.0.0 -> 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonTorres committed Nov 30, 2023
1 parent 047d0f2 commit 355e631
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions pkgs/applications/video/openshot-qt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, mkDerivationWith
, fetchFromGitHub
, fetchpatch
, doxygen
, gtk3
, libopenshot
Expand All @@ -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
Expand All @@ -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)
'';

Expand All @@ -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;
};
}

0 comments on commit 355e631

Please sign in to comment.