2013-12-29 03:16:41 +00:00
|
|
|
{ stdenv, fetchgit, cmake, libtiff, pkgconfig, tesseract }:
|
|
|
|
|
2014-09-20 19:28:15 +01:00
|
|
|
let rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
|
2013-12-29 03:16:41 +00:00
|
|
|
shortRev = builtins.substring 0 7 rev;
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2014-09-20 19:28:15 +01:00
|
|
|
name = "vobsub2srt-git-20140817-${shortRev}";
|
2013-12-29 03:16:41 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/ruediger/VobSub2SRT.git";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1rpanrv8bgdh95v2320qbd44xskncvq6y84cbbfc86gw0qxpd9cb";
|
2013-12-29 03:16:41 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake libtiff ];
|
2013-12-29 03:16:41 +00:00
|
|
|
propagatedBuildInputs = [ tesseract ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ruediger/VobSub2SRT";
|
2013-12-29 03:16:41 +00:00
|
|
|
description = "Converts VobSub subtitles into SRT subtitles";
|
2014-03-07 16:34:54 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-12-29 03:16:41 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
|
|
|
};
|
|
|
|
}
|