2022-08-12 12:06:08 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, pkg-config, which, qmake, wrapQtAppsHook
|
|
|
|
, qtmultimedia, frei0r, opencolorio_1, ffmpeg-full, CoreFoundation }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "olive-editor";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "olive-editor";
|
|
|
|
repo = "olive";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "151g6jwhipgbq4llwib92sq23p1s9hm6avr7j4qq3bvykzrm8z1a";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
which
|
|
|
|
qmake
|
2020-06-18 07:06:33 +00:00
|
|
|
wrapQtAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ffmpeg-full
|
|
|
|
frei0r
|
2021-06-28 23:13:55 +00:00
|
|
|
opencolorio_1
|
2020-04-24 23:36:52 +00:00
|
|
|
qtmultimedia
|
2021-01-15 22:18:51 +00:00
|
|
|
] ++ lib.optional stdenv.isDarwin CoreFoundation;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Professional open-source NLE video editor";
|
|
|
|
homepage = "https://www.olivevideoeditor.org/";
|
|
|
|
downloadPage = "https://www.olivevideoeditor.org/download.php";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.balsoft ];
|
|
|
|
platforms = platforms.unix;
|
2022-12-17 10:02:37 +00:00
|
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|