2017-03-29 09:47:30 +00:00
|
|
|
{ stdenv, fetchFromGitHub
|
2017-04-16 19:09:22 +00:00
|
|
|
, doxygen, python3Packages, libopenshot
|
2017-05-17 19:26:11 +00:00
|
|
|
, wrapGAppsHook, gtk3 }:
|
2016-07-17 15:39:15 +00:00
|
|
|
|
2017-04-16 19:09:22 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2016-07-17 15:39:15 +00:00
|
|
|
name = "openshot-qt-${version}";
|
2018-10-03 12:09:43 +00:00
|
|
|
version = "2.4.3";
|
2016-07-17 15:39:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenShot";
|
|
|
|
repo = "openshot-qt";
|
|
|
|
rev = "v${version}";
|
2018-10-03 12:09:43 +00:00
|
|
|
sha256 = "1qdw1mli4y9qhrnllnkaf6ydgw5vfvdb90chs4i679k0x0jyb9a2";
|
2016-07-17 15:39:15 +00:00
|
|
|
};
|
2017-04-16 19:09:22 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ doxygen wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
|
2017-08-29 10:30:10 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5 requests sip httplib2 pyzmq ];
|
2017-04-16 19:09:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
# tries to create caching directories during install
|
|
|
|
export HOME=$(mktemp -d)
|
2016-07-17 15:39:15 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-04-16 19:09:22 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-03-29 09:47:30 +00:00
|
|
|
homepage = http://openshot.org/;
|
2016-07-17 15:39:15 +00:00
|
|
|
description = "Free, open-source video editor";
|
2017-03-29 09:47:30 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
license = with licenses; gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = with platforms; linux;
|
2016-07-17 15:39:15 +00:00
|
|
|
};
|
|
|
|
}
|