forked from mirrors/nixpkgs
4c0efb17ce
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/v3kr4pyvqih44nkanbcs50574wz6gjcv-openshot-qt-2.4.1/bin/openshot-qt --version` and found version 2.4.1 - ran `/nix/store/v3kr4pyvqih44nkanbcs50574wz6gjcv-openshot-qt-2.4.1/bin/..openshot-qt-wrapped-wrapped --version` and found version 2.4.1 - ran `/nix/store/v3kr4pyvqih44nkanbcs50574wz6gjcv-openshot-qt-2.4.1/bin/.openshot-qt-wrapped --version` and found version 2.4.1 - found 2.4.1 with grep in /nix/store/v3kr4pyvqih44nkanbcs50574wz6gjcv-openshot-qt-2.4.1 cc "@AndersonTorres"
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{ stdenv, fetchFromGitHub
|
|
, doxygen, python3Packages, libopenshot
|
|
, wrapGAppsHook, gtk3 }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
name = "openshot-qt-${version}";
|
|
version = "2.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenShot";
|
|
repo = "openshot-qt";
|
|
rev = "v${version}";
|
|
sha256 = "182dldj9ybs6aqjfrc9dqx1mifdyhv0rf3ifxcp52cm9rz5yv8ml";
|
|
};
|
|
|
|
nativeBuildInputs = [ doxygen wrapGAppsHook ];
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5 requests sip httplib2 pyzmq ];
|
|
|
|
|
|
preConfigure = ''
|
|
# tries to create caching directories during install
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
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.
|
|
'';
|
|
license = with licenses; gpl3Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|