I've reused the patch from nixpkgs and added opencc dependency.