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