@@ -0,0 +1,40 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, which, qmake,
2+ qtbase, qtmultimedia, frei0r, opencolorio, hicolor-icon-theme, ffmpeg-full,
3+ CoreFoundation }:
4+
5+stdenv.mkDerivation rec {
6+ pname = "olive-editor";
7+ version = "0.1.0";
8+
9+ src = fetchFromGitHub {
10+ owner = "olive-editor";
11+ repo = "olive";
12+ rev = version;
13+ sha256 = "191nk4c35gys4iypykcidn6h27c3sbjfy117q7h9h1qilz2wm94z";
14+ };
15+
16+ nativeBuildInputs = [
17+ pkgconfig
18+ which
19+ qmake
20+ ];
21+
22+ buildInputs = [
23+ ffmpeg-full
24+ frei0r
25+ opencolorio
26+ qtbase
27+ qtmultimedia
28+ qtmultimedia.dev
29+ hicolor-icon-theme
30+ ] ++ stdenv.lib.optional stdenv.isDarwin CoreFoundation;
31+
32+ meta = with stdenv.lib; {
33+ description = "Professional open-source NLE video editor";
34+ homepage = "https://www.olivevideoeditor.org/";
35+ downloadPage = "https://www.olivevideoeditor.org/download.php";
36+ license = licenses.gpl3;
37+ maintainers = [ maintainers.balsoft ];
38+ platforms = platforms.unix;
39+ };
40+}