nixpkgs/pkgs/applications/video/openshot-qt/default.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

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