Skip to main content

Generate Nix expressions for Python packages.

Project description


Generate nix expressions for Python packages.

Build Status Documentation Status PyPI status PyPI version

Why another .nix generator for Python?

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
$ 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. If you need real-time help you can try pinging me - I’m ktosiek on Freenode, and @tkontusz on Twitter.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip2nix-0.2.0.tar.gz (11.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page