Loading pkgs/development/python-modules/mesonpep517/default.nix +10 −7 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ , ninja , setuptools , toml , wheel }: # TODO: offer meson as a Python package so we have dist-info folder. Loading @@ -19,19 +20,21 @@ buildPythonPackage rec { hash = "sha256-Fyo7JfLqHJqbahEjVDt/0xJxOfVLqLn3xNJ4lSB7KIw="; }; # Applies the following merge request, which doesn't apply cleanly: # https://gitlab.com/thiblahute/mesonpep517/-/merge_requests/25 # postPatch = '' substituteInPlace pyproject.toml \ --replace 'backend-path = "."' 'backend-path = ["."]' ''; nativeBuildInputs = [ setuptools wheel ]; propagatedBuildInputs = [ toml ]; # postPatch = '' # # Meson tries to detect ninja as well, so we should patch meson as well. # substituteInPlace mesonpep517/buildapi.py \ # --replace "'meson'" "'${meson}/bin/meson'" \ # --replace "'ninja'" "'${ninja}/bin/ninja'" # ''; propagatedNativeBuildInputs = [ meson ninja ]; meta = { Loading Loading
pkgs/development/python-modules/mesonpep517/default.nix +10 −7 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ , ninja , setuptools , toml , wheel }: # TODO: offer meson as a Python package so we have dist-info folder. Loading @@ -19,19 +20,21 @@ buildPythonPackage rec { hash = "sha256-Fyo7JfLqHJqbahEjVDt/0xJxOfVLqLn3xNJ4lSB7KIw="; }; # Applies the following merge request, which doesn't apply cleanly: # https://gitlab.com/thiblahute/mesonpep517/-/merge_requests/25 # postPatch = '' substituteInPlace pyproject.toml \ --replace 'backend-path = "."' 'backend-path = ["."]' ''; nativeBuildInputs = [ setuptools wheel ]; propagatedBuildInputs = [ toml ]; # postPatch = '' # # Meson tries to detect ninja as well, so we should patch meson as well. # substituteInPlace mesonpep517/buildapi.py \ # --replace "'meson'" "'${meson}/bin/meson'" \ # --replace "'ninja'" "'${ninja}/bin/ninja'" # ''; propagatedNativeBuildInputs = [ meson ninja ]; meta = { Loading