[python3Packages.]uv: Remove dependencies on `cmake` and `pkg-config` (#407665)

authored by Gaétan Lepage and committed by GitHub 455782de 5a09afc7

+6 -16
+3 -12
pkgs/by-name/uv/uv/package.nix
··· 8 8 rust-jemalloc-sys, 9 9 10 10 # nativeBuildInputs 11 - cmake, 12 11 installShellFiles, 13 - pkg-config, 14 12 15 13 buildPackages, 16 14 versionCheckHook, ··· 36 34 rust-jemalloc-sys 37 35 ]; 38 36 39 - nativeBuildInputs = [ 40 - cmake 41 - installShellFiles 42 - pkg-config 43 - ]; 44 - 45 - dontUseCmakeConfigure = true; 37 + nativeBuildInputs = [ installShellFiles ]; 46 38 47 39 cargoBuildFlags = [ 48 40 "--package" ··· 64 56 '' 65 57 ); 66 58 67 - nativeInstallCheckInputs = [ 68 - versionCheckHook 69 - ]; 59 + nativeInstallCheckInputs = [ versionCheckHook ]; 70 60 versionCheckProgramArg = "--version"; 71 61 doInstallCheck = true; 72 62 ··· 84 74 mit 85 75 ]; 86 76 maintainers = with lib.maintainers; [ 77 + bengsparks 87 78 GaetanLepage 88 79 prince213 89 80 ];
+3 -4
pkgs/development/python-modules/uv/default.nix
··· 1 1 { 2 2 buildPythonPackage, 3 3 installShellFiles, 4 - pkg-config, 5 4 rustPlatform, 6 5 pkgs, 6 + versionCheckHook, 7 7 }: 8 8 9 9 buildPythonPackage { ··· 12 12 version 13 13 src 14 14 cargoDeps 15 - dontUseCmakeConfigure 16 15 meta 17 16 cargoBuildFlags 18 17 postInstall ··· 25 24 ''; 26 25 27 26 nativeBuildInputs = [ 28 - pkgs.cmake 29 27 installShellFiles 30 - pkg-config 31 28 rustPlatform.cargoSetupHook 32 29 rustPlatform.maturinBuildHook 33 30 ]; 31 + 32 + nativeCheckInputs = [ versionCheckHook ]; 34 33 35 34 pyproject = true; 36 35 pythonImportsCheck = [ "uv" ];