diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix index e3f3df3f874a..cf742218e5bf 100644 --- a/pkgs/by-name/uv/uv/package.nix +++ b/pkgs/by-name/uv/uv/package.nix @@ -18,19 +18,19 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "uv"; - version = "0.6.4"; + version = "0.6.5"; src = fetchFromGitHub { owner = "astral-sh"; repo = "uv"; - tag = version; - hash = "sha256-4Fnc36jcgV5rZnipepgucfoUZ0V1VGC6axMPHOJX80A="; + tag = finalAttrs.version; + hash = "sha256-y4TUu7mQAfS6qO8lKOniCD5ShiKzhAuwD+8qK3qcMmw="; }; useFetchCargoVendor = true; - cargoHash = "sha256-8lo3R4U61zM+dHehFowySW8/fDCxBb03/e3njqG8l9g="; + cargoHash = "sha256-KCuGQ3OWpzXX5b1X9DuiTTqYNZSlCpi46J4bX7nQGVc="; buildInputs = [ rust-jemalloc-sys @@ -67,7 +67,7 @@ rustPlatform.buildRustPackage rec { nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgramArg = [ "--version" ]; + versionCheckProgramArg = "--version"; doInstallCheck = true; passthru = { @@ -78,7 +78,7 @@ rustPlatform.buildRustPackage rec { meta = { 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/${version}/CHANGELOG.md"; + changelog = "https://github.com/astral-sh/uv/blob/${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -86,4 +86,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "uv"; }; -} +})