pypi2nix
pypi2nix copied to clipboard
Abandoned! Generate Nix expressions for Python packages
Importing python-packages from top-level is now curried 1 more level, to which I'm failing to understand and reproducing in nix repl, https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/default.nix#L26 Accessing lib from pkgs.stdenv is now throwing warning...
# Description I just tried to convert a pypi package (gdbgui) of a specific version to a nix expression. ## Command ```bash % pypi2nix --version 2.0.4 % pypi2nix -e gdbgui==0.13.2.0...
# Description =3.0.4 Downloading chardet-4.0.0.tar.gz (1.9 MB) Saved /tmp/tmp30ujjep5/downloads/chardet-4.0.0.tar.gz Collecting click>=6.7 Downloading click-8.0.3.tar.gz (329 kB) Saved /tmp/tmp30ujjep5/downloads/click-8.0.3.tar.gz Collecting numpy>=1.13.3 Downloading numpy-1.21.5.zip (10.7 MB) Installing build dependencies: started Installing build dependencies:...
README.md mentioned that pypi requires latest version of nixpkgs, > ``pypi2nix`` will (until further notice) only work with latest *unstable* > channel. This is due to ongoing changes in Python...
## System: * System76 Galago Pro (galp5) * Intel Core i7-1165G7 * Nvidia GTX 1650TI * 32GB of RAm * 1Tb NVME SSD * NixOS Unstable: 22.05 * Kernel: 5.15.3-zen1...
``` source root is pip-b8c16a0 setting SOURCE_DATE_EPOCH to timestamp 315619200 of file pip-b8c16a0/tox.ini patching sources applying patch /nix/store/iz5gi7nz4xdxfcb8372dmi4rkclpqd4m-reproducible.patch can't find file to patch at input line 5 Perhaps you used...
# Description
I tried using both the nixos-20.09 and nixpkgs-unstable channel of pypi2nix. Created a minimally reproducible error below: ``` ❯ cat requirements.txt cffi==1.14.4 ❯ pypi2nix -r requirements.txt INFO: pypi2nix v2.0.4 running...
# Description =3.3.0 Downloading social-auth-core-4.1.0.tar.gz (192 kB) Saved /tmp/tmp3b8n90h3/download/social-auth-core-4.1.0.tar.gz Collecting pytz Downloading pytz-2021.1.tar.gz (317 kB) Saved /tmp/tmp3b8n90h3/download/pytz-2021.1.tar.gz Collecting sqlparse>=0.2.2 Downloading sqlparse-0.4.1.tar.gz (67 kB) Saved /tmp/tmp3b8n90h3/download/sqlparse-0.4.1.tar.gz Collecting jinja2 Downloading Jinja2-2.11.3.tar.gz (257...
# Description Tried `pypi2nix` on the following `requirements.txt` (renamed to `r.txt`) below. Thank you for taking a look at it! ```text Django == 2.1.5 psycopg2-binary django-crispy-forms django-debug-toolbar django-tables2 openpyxl django-mathfilters...