1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4 pname = "srt-to-vtt-cl";
5 version = "unstable-2019-01-03";
7 src = fetchFromGitHub {
10 rev = "ce3d0776906eb847c129d99a85077b5082f74724";
11 sha256 = "0qxysj08gjr6npyvg148llmwmjl2n9cyqjllfnf3gxb841dy370n";
15 ./fix-validation.patch
16 ./simplify-macOS-builds.patch
21 cp bin/srt-vtt $out/bin
25 description = "Convert SRT files to VTT";
26 license = licenses.mit;
27 maintainers = with maintainers; [ ericdallo ];
28 homepage = "https://github.com/nwoltman/srt-to-vtt-cl";
29 platforms = platforms.unix;
30 mainProgram = "srt-vtt";