8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
795 B
Nix
26 lines
795 B
Nix
{ stdenv, fetchgit, cmake, libtiff, pkgconfig, tesseract }:
|
|
|
|
let rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
|
|
shortRev = builtins.substring 0 7 rev;
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "vobsub2srt-git-20140817-${shortRev}";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/ruediger/VobSub2SRT.git";
|
|
sha256 = "1rpanrv8bgdh95v2320qbd44xskncvq6y84cbbfc86gw0qxpd9cb";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ cmake libtiff ];
|
|
propagatedBuildInputs = [ tesseract ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ruediger/VobSub2SRT";
|
|
description = "Converts VobSub subtitles into SRT subtitles";
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
|
};
|
|
}
|