3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/cd-dvd/vobsub2srt/default.nix

26 lines
771 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchgit, cmake, libtiff, pkg-config, tesseract }:
2013-12-29 03:16:41 +00:00
2021-08-12 20:47:47 +01:00
stdenv.mkDerivation rec {
pname = "vobsub2srt-git";
version = "20140817-${builtins.substring 0 7 rev}";
rev = "a6abbd61127a6392d420bbbebdf7612608c943c2";
2013-12-29 03:16:41 +00:00
src = fetchgit {
inherit rev;
url = "https://github.com/ruediger/VobSub2SRT.git";
sha256 = "1rpanrv8bgdh95v2320qbd44xskncvq6y84cbbfc86gw0qxpd9cb";
2013-12-29 03:16:41 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libtiff ];
2013-12-29 03:16:41 +00:00
propagatedBuildInputs = [ tesseract ];
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 ];
2013-12-29 03:16:41 +00:00
};
}