Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python2nix

Put a PyPI package name in, get a Nix expression out to add to nixpkgs or your private build scripts.

Quick start

  • Choose your favorite package from PyPI (like https://pypi.python.org/pypi/thumbor)
  • Feed its name to python2nix: python -mpython2nix thumbor
  • Use code from stdout as the base for Nix expression (it may need manual tweaks).

Known issues

  • Tested only with pip==1.5.6.
  • May ignore lots of the metadata (e.g. doesn't handle tests_require).

Contributors

You may also like

  • @tailhook's reqtxt2nix which lets you produce build environments (put your requirements.txt in, get a myEnvFun out)

About

Put a PyPI package name in, get a Nix expression out.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages