diff options
author | Jonathan Rudenberg <jonathan@titanous.com> | 2019-07-26 23:45:16 -0400 |
---|---|---|
committer | Jonathan Rudenberg <jonathan@titanous.com> | 2019-07-27 21:09:12 -0400 |
commit | 467b92cf324135570f81cbdffad7ec91150cea04 (patch) | |
tree | 1a3422f48a1121cd0ee1b9fb3f72f5ad0e48cac4 /pkgs/applications/video/ccextractor/default.nix | |
parent | c5592fabba85bc011763258ab804e0f063e0da8f (diff) | |
download | nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.tar nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.tar.gz nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.tar.bz2 nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.tar.lz nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.tar.xz nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.tar.zst nixpkgs-467b92cf324135570f81cbdffad7ec91150cea04.zip |
ccextractor: init at 0.88
Diffstat (limited to 'pkgs/applications/video/ccextractor/default.nix')
-rw-r--r-- | pkgs/applications/video/ccextractor/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/video/ccextractor/default.nix b/pkgs/applications/video/ccextractor/default.nix new file mode 100644 index 00000000000..91c47516521 --- /dev/null +++ b/pkgs/applications/video/ccextractor/default.nix @@ -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 ]; + }; +} |