Skip to main content

pip2nix

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 :-)

Installation

$ git clone https://github.com/johbo/pip2nix
$ nix-env -f pip2nix/release.nix -iA pip2nix.python34  # Same Python as target packages

Usage

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.

Contact

Problems and questions should go to GitHub issues.

Credits

Tomasz Kontusz started the project back in 2015 he’s ktosiek on Freenode, and @tkontusz on Twitter.

Release files for pip2nix 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip2nix 0.6.0
File Size Uploaded
pip2nix-0.6.0.tar.gz 20.8 kB Details

Release files / pip2nix-0.6.0.tar.gz

Download URL pip2nix-0.6.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ea2cc15d8df327e23f525bf1c5e268bbc75ce512905f051e1c7a6f15f153488b
BLAKE2b-256 checksum
How to use checksums
4def4c9261503295c91636a1558d7bd6fc6677068a5da9a9512f442c24bba6f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.7.0

1 release file

This release

0.6.0 This release

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page