Merge pull request #65450 from titanous/ccextractor

ccextractor: init at 0.88
This commit is contained in:
Aaron Andersen 2019-07-27 21:41:42 -04:00 committed by GitHub
commit d01fa1dc36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake
, glew, glfw3, leptonica, libiconv, tesseract3, zlib }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "ccextractor";
version = "0.88";
src = fetchFromGitHub {
owner = "CCExtractor";
repo = pname;
rev = "v${version}";
sha256 = "1sya45hvv4d46bk7541yimmafgvgyhkpsvwfz9kv6pm4yi1lz6nb";
};
sourceRoot = "source/src";
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ glew glfw3 leptonica tesseract3 zlib ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
meta = {
homepage = "https://www.ccextractor.org";
description = "Tool that produces subtitles from closed caption data in videos";
longDescription = ''
A tool that analyzes video files and produces independent subtitle files from
closed captions data. CCExtractor is portable, small, and very fast.
It works on Linux, Windows, and OSX.
'';
platforms = platforms.unix;
license = licenses.gpl2;
maintainers = with maintainers; [ titanous ];
};
}

View File

@ -736,6 +736,8 @@ in
container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { }; container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { };
ccextractor = callPackage ../applications/video/ccextractor { };
cconv = callPackage ../tools/text/cconv { }; cconv = callPackage ../tools/text/cconv { };
go-check = callPackage ../development/tools/check { }; go-check = callPackage ../development/tools/check { };