mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #335526 from r-ryantm/auto-update/python312Packages.uv
python312Packages.uv: 0.2.27 -> 0.2.37
This commit is contained in:
commit
361fb2299d
720
pkgs/by-name/uv/uv/Cargo.lock
generated
720
pkgs/by-name/uv/uv/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,35 +1,36 @@
|
||||
{ lib
|
||||
, cmake
|
||||
, darwin
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, libiconv
|
||||
, pkg-config
|
||||
, python3Packages
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, testers
|
||||
, uv
|
||||
, nix-update-script
|
||||
{
|
||||
lib,
|
||||
cmake,
|
||||
darwin,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
libiconv,
|
||||
pkg-config,
|
||||
python3Packages,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
testers,
|
||||
uv,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "uv";
|
||||
version = "0.2.27";
|
||||
version = "0.2.37";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astral-sh";
|
||||
repo = "uv";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-KYBHg0E06zeUpyIdPcMQijUorwX4QiiPwacR+UcDFJs=";
|
||||
hash = "sha256-3FSA+JsAbLzS3ONoLciDzpyCsO6Em8lNVYR43WiK1xs=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"async_zip-0.0.17" = "sha256-Q5fMDJrQtob54CTII3+SXHeozy5S5s3iLOzntevdGOs=";
|
||||
"pubgrub-0.2.1" = "sha256-4/Z/NA0MsHFaChu+sNzIQJgV0M62ZXOGQubzITIC4fI=";
|
||||
"async_zip-0.0.17" = "sha256-3k9rc4yHWhqsCUJ17K55F8aQoCKdVamrWAn6IDWo3Ss=";
|
||||
"pubgrub-0.2.1" = "sha256-yhZm35Dyl6gcBTxKvsxJXv1GTOuMCDknnSTgGgKD488=";
|
||||
"reqwest-middleware-0.3.2" = "sha256-OiC8Kg+F2eKy7YNuLtgYPi95DrbxLvsIKrKEeyuzQTo=";
|
||||
};
|
||||
};
|
||||
@ -44,13 +45,14 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
buildInputs = [
|
||||
libiconv
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
cargoBuildFlags = [ "--package" "uv" ];
|
||||
cargoBuildFlags = [
|
||||
"--package"
|
||||
"uv"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
export HOME=$TMPDIR
|
||||
@ -60,14 +62,10 @@ python3Packages.buildPythonApplication rec {
|
||||
--zsh <($out/bin/uv --generate-shell-completion zsh)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"uv"
|
||||
];
|
||||
pythonImportsCheck = [ "uv" ];
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = uv;
|
||||
};
|
||||
tests.version = testers.testVersion { package = uv; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
@ -75,7 +73,10 @@ python3Packages.buildPythonApplication rec {
|
||||
description = "Extremely fast Python package installer and resolver, written in Rust";
|
||||
homepage = "https://github.com/astral-sh/uv";
|
||||
changelog = "https://github.com/astral-sh/uv/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with lib.licenses; [ asl20 mit ];
|
||||
license = with lib.licenses; [
|
||||
asl20
|
||||
mit
|
||||
];
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
mainProgram = "uv";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user