nixpkgs/pkgs/applications/video/olive-editor/default.nix
2020-04-08 17:23:22 +02:00

40 lines
937 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, which, qmake, mkDerivation,
qtbase, qtmultimedia, 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 = [
pkgconfig
which
qmake
];
buildInputs = [
ffmpeg-full
frei0r
opencolorio
qtbase
qtmultimedia
qtmultimedia.dev
] ++ stdenv.lib.optional stdenv.isDarwin CoreFoundation;
meta = with stdenv.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;
};
}