Skip to main content

Generate Nix expressions for Python packages.

Project description

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.

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.4.0.tar.gz (13.4 kB view details)

Uploaded Source

File details

Details for the file pip2nix-0.4.0.tar.gz.

File metadata

  • Download URL: pip2nix-0.4.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pip2nix-0.4.0.tar.gz
Algorithm Hash digest
SHA256 96b9ede44893b3869581a09f40de34885fbe886af68cd4d53b2d97dd592d8389
MD5 7818afcdb3a91f74983d10b943ae4be3
BLAKE2b-256 a45ba63730643a19f5897f96b9b4b9444f06f8f84a684c5285d437cce1191e12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page