nixpkgs/pkgs/tools/cd-dvd/vobsub2srt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
860 B
Nix
Raw Normal View History

2023-03-03 05:12:47 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, libtiff, pkg-config, tesseract3 }:
2013-12-29 03:16:41 +00:00
2021-08-12 19:47:47 +00:00
stdenv.mkDerivation rec {
pname = "vobsub2srt";
version = "unstable-2014-08-17";
2013-12-29 03:16:41 +00:00
2022-03-08 14:29:01 +00:00
src = fetchFromGitHub {
owner = "ruediger";
repo = "VobSub2SRT";
rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
sha256 = "sha256-i6V2Owb8GcTcWowgb/BmdupOSFsYiCF2SbC9hXa26uY=";
2013-12-29 03:16:41 +00:00
};
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [ "-std=c++11" ]);
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libtiff ];
2023-03-03 05:12:47 +00:00
propagatedBuildInputs = [ tesseract3 ];
2013-12-29 03:16:41 +00:00
meta = {
homepage = "https://github.com/ruediger/VobSub2SRT";
2013-12-29 03:16:41 +00:00
description = "Converts VobSub subtitles into SRT subtitles";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.ttuegel ];
2023-11-23 02:51:17 +00:00
mainProgram = "vobsub2srt";
2013-12-29 03:16:41 +00:00
};
}