Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
881 B
Nix
40 lines
881 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libtiff,
|
|
pkg-config,
|
|
tesseract3,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "vobsub2srt";
|
|
version = "unstable-2014-08-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ruediger";
|
|
repo = "VobSub2SRT";
|
|
rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
|
|
sha256 = "sha256-i6V2Owb8GcTcWowgb/BmdupOSFsYiCF2SbC9hXa26uY=";
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [ "-std=c++11" ]);
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
buildInputs = [ libtiff ];
|
|
propagatedBuildInputs = [ tesseract3 ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ruediger/VobSub2SRT";
|
|
description = "Converts VobSub subtitles into SRT subtitles";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
mainProgram = "vobsub2srt";
|
|
};
|
|
}
|