4 ms·
The solution to Python packages is the 'pypi2nix' tool. This is an alternate approach that you see also used in the blog post, this time with vgo2nix. These too
by rkangel 7y ago
The solution to Python packages is the 'pypi2nix' tool. This is an alternate approach that you see also used in the blog post, this time with vgo2nix. These tools take a set of dependencies (e.g. requirements.txt) and generate Nix expressions to build all of them from source.
- adisbladis 7y agoYou may also want to take a look at https://github.com/nix-community/poetry2nix https://github.com/nix-community/poetry2nix Disclaimer: I am the author (and also the author of vgo2nix).
- mbakke 7y agoGuix has `guix import pypi PACKAGE`, which spits out a complete definition that you can pop into a file or the main Guix repository. 'guix import' also takes a --recursive argument, which makes it recursively consider any dependencies and produce package definitions for those not already available.