pynixify
pynixify copied to clipboard
Nix expression generator for Python projects
allowing user to specify python version to include in generated shell
current supported backends are hatchling and flit_core
I suppose it would replace `pynixify/nixpkgs.nix` for a `flake.nix`. Nixpkgs pinning would be done with flakes instead of with the `--nixpkgs` option. Also, local development could benefit of dirty Git...
looks like `pyproject.toml` and `setup.cfg` are not supported workaround: use [mach-nix](https://github.com/DavHau/mach-nix) im trying to install [gerapy](https://github.com/Gerapy/Gerapy) ```sh cd $(mktemp -d) pynixify gerapy nix-shell ./pynixify/shell.nix ``` on `nix-shell` i get `ERROR:...
```bash pynixify wikitextparser Resolving wikitextparser Error parsing requirements of /nix/store/190ccpx58ga9qym1x16z1f1sx2i9wym6-wikitextparser-0.48.0.tar.gz. Assuming it has no dependencies. Error parsing requirements of /nix/store/190ccpx58ga9qym1x16z1f1sx2i9wym6-wikitextparser-0.48.0.tar.gz. Assuming it has no dependencies. Error parsing metadata of /nix/store/190ccpx58ga9qym1x16z1f1sx2i9wym6-wikitextparser-0.48.0.tar.gz....
First off, awesome project, this makes it much easier to make Python packages which are upstreamable for Nixpkgs! I just used pynixify to generate and make a PR for https://github.com/NixOS/nixpkgs/pull/97155...
How to use the pynixify derivativ in jupyterWith? [jupyterWith](https://github.com/tweag/jupyterWith/blob/master/example/Python/poetry2nix/shell.nix)
besides those packages: ``` json2json avro jq json2sql overpy2 ``` there are issues with: ``` brotli daiquiri dash dbt dictdiffer flask-compress google-crc32c hunter jq orange3 (orange-canvas-core/orange-widget-base) py-spy tensorflow/tensorboard-plugin-wit xarray-spatial ```...
pysal ``` /nix/store/r94aa2gj4drkhfvkm2p4ab6cblb6kxlq-python3-3.7.6/lib/python3.7/asyncio/unix_events.py:878: RuntimeWarning: A loop is being detached from a child watcher with pending handlers RuntimeWarning) Traceback (most recent call last): File "/nix/store/s7jbqin95y5af68y3jc7qz0lmj3r3wbm-python3.7-pynixify-0.1/lib/python3.7/site-packages/pynixify/version_chooser.py", line 81, in require pkg =...
JupyterLab (like VScode) lives from extensions but these need to be installed and afterwards it needs a rebuild (for proper integration) --- same as with [ mach-nix](https://github.com/DavHau/mach-nix/issues/74) --- after entering...