nixpkgs/pkgs/applications/video/olive-editor/default.nix

39 lines
928 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, which, qmake, mkDerivation,
qtmultimedia, wrapQtAppsHook, frei0r, opencolorio_1, ffmpeg-full,
2020-06-02 07:32:18 +02:00
CoreFoundation }:
mkDerivation rec {
pname = "olive-editor";
2020-04-08 17:23:22 +02:00
version = "0.1.2";
src = fetchFromGitHub {
owner = "olive-editor";
repo = "olive";
rev = version;
2020-04-08 17:23:22 +02:00
sha256 = "151g6jwhipgbq4llwib92sq23p1s9hm6avr7j4qq3bvykzrm8z1a";
};
nativeBuildInputs = [
pkg-config
which
qmake
2020-06-02 07:32:18 +02:00
wrapQtAppsHook
];
buildInputs = [
ffmpeg-full
frei0r
opencolorio_1
qtmultimedia
2021-01-15 06:42:41 +01:00
] ++ 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;
};
}