nix-community / dream2nix

Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]
https://dream2nix.dev
MIT License
965 stars 121 forks source link

Support maturin pip build backend #984

Open rupurt opened 2 months ago

rupurt commented 2 months ago

I've been trying to add pip dependencies that use the maturin build backend. It appears like dream2nix currently ignores them and doesn't install them.

> ipython
Python 3.12.3 (main, Apr  9 2024, 08:09:14) [GCC 13.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.20.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import opendal
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 1
----> 1 import opendal

ModuleNotFoundError: No module named 'opendal'

In [2]:
rupurt commented 2 months ago

Example of object-store-python not importing https://github.com/nix-community/dream2nix/issues/982