Skip to main content

Generate Nix expressions for Python packages.

Project description

pip2nix

Generate nix expressions for Python packages.

Build Status Documentation Status

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 htts://github.com/ktosiek/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 -r requirements.txt

pip2nix takes the same set of package specifications pip install does.

At the moment the –help lies - it’s not only showing the pip2nix options, but also pip ones (that are not always relevant). (TODO: #14)

Contact

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pip2nix-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7182e61ed862fc670a18e0d0fb9d8316dc58eba43c63af62ecfe003e917aa9a
MD5 56a3dc2eb3a54d1246d658766169dca3
BLAKE2b-256 80876cee49e544095acdba01be9d631441e5260c222f6ee6ec3bb2d034f72e76

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