depot/third_party/nixpkgs/pkgs/tools/cd-dvd/vobsub2srt/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

25 lines
771 B
Nix

{ lib, stdenv, fetchgit, cmake, libtiff, pkg-config, tesseract }:
stdenv.mkDerivation rec {
pname = "vobsub2srt-git";
version = "20140817-${builtins.substring 0 7 rev}";
rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
src = fetchgit {
inherit rev;
url = "https://github.com/ruediger/VobSub2SRT.git";
sha256 = "1rpanrv8bgdh95v2320qbd44xskncvq6y84cbbfc86gw0qxpd9cb";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libtiff ];
propagatedBuildInputs = [ tesseract ];
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 ];
};
}