depot/third_party/nixpkgs/pkgs/applications/video/olive-editor/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

44 lines
1.1 KiB
Nix

{ lib, stdenv, fetchFromGitHub
, pkg-config, which, qmake, wrapQtAppsHook
, qtmultimedia, frei0r, opencolorio_1, ffmpeg-full, CoreFoundation }:
stdenv.mkDerivation rec {
pname = "olive-editor";
version = "0.1.2";
src = fetchFromGitHub {
owner = "olive-editor";
repo = "olive";
rev = version;
sha256 = "151g6jwhipgbq4llwib92sq23p1s9hm6avr7j4qq3bvykzrm8z1a";
};
patches = [
./q-painter-path.patch
];
nativeBuildInputs = [
pkg-config
which
qmake
wrapQtAppsHook
];
buildInputs = [
ffmpeg-full
frei0r
opencolorio_1
qtmultimedia
] ++ lib.optional stdenv.isDarwin CoreFoundation;
meta = with lib; {
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;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}