indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.5k stars 239 forks source link

add pre-fetch/local dependency substitution feature #744

Open wucke13 opened 6 months ago

wucke13 commented 6 months ago

I'm currently trying to package the https://github.com/seL4/microkit SDK for https://github.com/nixOS/nixpkgs/ . Builds in Nix are hermetically sealed, meaning during a build no internet connection is allowed. However, one can use a URL fetcher + a hash to fetch a pinpointed dependency. Alternatively, one can opt in to having internet connection during the compilation, but then all generated artifacts are hashed (and the hash has to be stable).

In order to package something which relies on PyOxidizer, it would be desirable to

Possibly related: https://github.com/indygreg/PyOxidizer/issues/204, https://github.com/indygreg/PyOxidizer/issues/589