2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchgit, cmake, libtiff, pkg-config, tesseract }:
|
2013-12-29 04:16:41 +01:00
|
|
|
|
2021-08-12 21:47:47 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-10 22:21:47 +01:00
|
|
|
pname = "vobsub2srt";
|
|
|
|
version = "unstable-2014-08-17";
|
2021-08-12 21:47:47 +02:00
|
|
|
rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
|
2013-12-29 04:16:41 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "https://github.com/ruediger/VobSub2SRT.git";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "1rpanrv8bgdh95v2320qbd44xskncvq6y84cbbfc86gw0qxpd9cb";
|
2013-12-29 04:16:41 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ libtiff ];
|
2013-12-29 04:16:41 +01:00
|
|
|
propagatedBuildInputs = [ tesseract ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ruediger/VobSub2SRT";
|
2013-12-29 04:16:41 +01:00
|
|
|
description = "Converts VobSub subtitles into SRT subtitles";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
2013-12-29 04:16:41 +01:00
|
|
|
};
|
|
|
|
}
|