-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how does mach-nix resolve urls and hashes #434
Comments
A database is downloaded first that contains the hashes of all files on PyPI https://github.com/DavHau/pypi-deps-db. Furthermore, that metadata also contains the dependencies for at least some packages, but I don't know whether |
that's what i thought too, but manually reading through "arithmat": {
"py2": {
"1.0.0": {
"arithmat-1.0.0-py2-none-any.whl": {
"requires_dist": [
"sage-package",
"networkx (~=2.2)"
],
"requires_python": ">=2.7, <3"
}
},
sorry im too lazy to "just read the source" ^^ |
The hashes are coming from https://github.com/DavHau/nix-pypi-fetcher |
Documentation PRs are very welcome. |
there is mach-nix#how-does-mach-nix-work
but it does not explain how mach-nix resolves urls and hashes of the sdist/wheel/conda files
from the nix point of view, that is the magic part
(assuming that
fetchurl
is only allowed if we know the hash before downloading)The text was updated successfully, but these errors were encountered: