depot/third_party/nixpkgs/pkgs/applications/video/olive-editor/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

38 lines
924 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, which, qmake, mkDerivation,
qtmultimedia, wrapQtAppsHook, frei0r, opencolorio, ffmpeg-full,
CoreFoundation }:
mkDerivation rec {
pname = "olive-editor";
version = "0.1.2";
src = fetchFromGitHub {
owner = "olive-editor";
repo = "olive";
rev = version;
sha256 = "151g6jwhipgbq4llwib92sq23p1s9hm6avr7j4qq3bvykzrm8z1a";
};
nativeBuildInputs = [
pkg-config
which
qmake
wrapQtAppsHook
];
buildInputs = [
ffmpeg-full
frei0r
opencolorio
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;
};
}