Generate Nix expressions for Python packages.
I needed something that can work not only with pypi but also with local paths, VCS links, and dependency links. I couldn’t get any of the other generators to work, so I started my own :-)
$ git clone https://github.com/johbo/pip2nix $ nix-env -f pip2nix/release.nix -iA pip2nix.python34 # Same Python as target packages
To generate python-packages.nix for a set of requirements:
$ pip2nix generate -r requirements.txt
pip2nix generate takes the same set of package specifications pip install does.
Problems and questions should go to GitHub issues.
Tomasz Kontusz started the project back in 2015 he’s ktosiek on Freenode, and @tkontusz on Twitter.