Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.setuptools-rust 0 -> 1 attrpath: python3Packages.setuptools-rust Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/37sssnx6whyggmx4xbhiixak92p72vq1-packages.json.drv building '/nix/store/37sssnx6whyggmx4xbhiixak92p72vq1-packages.json.drv'... Going to be running update for following packages: - python3.14-setuptools-rust-1.12.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-setuptools-rust-1.12.0: UPDATING ... - python3.14-setuptools-rust-1.12.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/setuptools-rust/default.nix b/pkgs/development/python-modules/setuptools-rust/default.nix index a13c0e7be526..71e2bda6fd30 100644 --- a/pkgs/development/python-modules/setuptools-rust/default.nix +++ b/pkgs/development/python-modules/setuptools-rust/default.nix @@ -17,13 +17,13 @@ }: buildPythonPackage rec { pname = "setuptools-rust"; - version = "1.12.0"; + version = "1.13.0"; pyproject = true; src = fetchPypi { pname = "setuptools_rust"; inherit version; - hash = "sha256-2UqT8Ml3UcFwFFZfB73DJL7kXTls0buoPY56+SuUXww="; + hash = "sha256-8q/PS67uaJkQzknPqKrU4IzOcvQXRJvMMokbhmT9xyY="; }; build-system = [ No auto update branch exists Old version 1.12.0" not present in staging derivation file with contents: { lib, stdenv, buildPythonPackage, fetchPypi, maturin, rustPlatform, rustc, cargo, semantic-version, setuptools, setuptools-rust, setuptools-scm, replaceVars, python, targetPackages, }: buildPythonPackage rec { pname = "setuptools-rust"; version = "1.13.0"; pyproject = true; src = fetchPypi { pname = "setuptools_rust"; inherit version; hash = "sha256-8q/PS67uaJkQzknPqKrU4IzOcvQXRJvMMokbhmT9xyY="; }; build-system = [ setuptools setuptools-scm ]; dependencies = [ semantic-version setuptools ]; pythonImportsCheck = [ "setuptools_rust" ]; doCheck = false; # integrate the setup hook to set up the build environment for cross compilation # this hook is automatically propagated to consumers using setuptools-rust as build-system # # Only include the setup hook if python.pythonOnTargetForTarget is not empty. # python.pythonOnTargetForTarget is not always available, for example in # pkgsLLVM.python3.pythonOnTargetForTarget. cross build with pkgsLLVM should not be affected. setupHook = if python.pythonOnTargetForTarget == { } then null else replaceVars ./setuptools-rust-hook.sh { pyLibDir = "${python.pythonOnTargetForTarget}/lib/${python.pythonOnTargetForTarget.libPrefix}"; cargoBuildTarget = stdenv.targetPlatform.rust.rustcTargetSpec; cargoLinkerVar = stdenv.targetPlatform.rust.cargoEnvVarTarget; targetLinker = "${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}cc"; }; passthru.tests = { pyo3 = maturin.tests.pyo3.override { buildAndTestSubdir = null; nativeBuildInputs = [ setuptools-rust ] ++ [ rustPlatform.cargoSetupHook cargo rustc ]; preConfigure = '' # sourceRoot puts Cargo.lock in the wrong place due to the # example setup. cd examples/word-count ''; }; }; meta = { description = "Setuptools plugin for Rust support"; homepage = "https://github.com/PyO3/setuptools-rust"; changelog = "https://github.com/PyO3/setuptools-rust/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = [ ]; }; }