In case you directly want to edit the pyproject.toml, add like
ipython-tikzmagic = {git = "[email protected]:michakraus/ipython-tikzmagic.git"}