nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3.pkgs.mesonpep517: add build dependencies and fix metadata

authored by

Theodore Ni and committed by
Frederik Rietdijk
829cbcbc 029622d0

+10 -7
+10 -7
pkgs/development/python-modules/mesonpep517/default.nix
··· 5 5 , ninja 6 6 , setuptools 7 7 , toml 8 + , wheel 8 9 }: 9 10 10 11 # TODO: offer meson as a Python package so we have dist-info folder. ··· 20 19 hash = "sha256-Fyo7JfLqHJqbahEjVDt/0xJxOfVLqLn3xNJ4lSB7KIw="; 21 20 }; 22 21 22 + # Applies the following merge request, which doesn't apply cleanly: 23 + # https://gitlab.com/thiblahute/mesonpep517/-/merge_requests/25 24 + # 25 + postPatch = '' 26 + substituteInPlace pyproject.toml \ 27 + --replace 'backend-path = "."' 'backend-path = ["."]' 28 + ''; 29 + 23 30 nativeBuildInputs = [ 24 31 setuptools 32 + wheel 25 33 ]; 26 34 27 35 propagatedBuildInputs = [ toml ]; 28 - 29 - # postPatch = '' 30 - # # Meson tries to detect ninja as well, so we should patch meson as well. 31 - # substituteInPlace mesonpep517/buildapi.py \ 32 - # --replace "'meson'" "'${meson}/bin/meson'" \ 33 - # --replace "'ninja'" "'${ninja}/bin/ninja'" 34 - # ''; 35 36 36 37 propagatedNativeBuildInputs = [ meson ninja ]; 37 38