Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: maturin 1.15.0 -> 1.16.0 https://github.com/PyO3/maturin/releases attrpath: maturin Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/hpyqcx8cbgb4jk0z4ga0xc8hiq0d5ql4-packages.json.drv building '/nix/store/hpyqcx8cbgb4jk0z4ga0xc8hiq0d5ql4-packages.json.drv'... Going to be running update for following packages: - maturin-1.15.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - maturin-1.15.0: UPDATING ... - maturin-1.15.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ma/maturin/package.nix b/pkgs/by-name/ma/maturin/package.nix index d529fe52d7a1..8e86f54f98db 100644 --- a/pkgs/by-name/ma/maturin/package.nix +++ b/pkgs/by-name/ma/maturin/package.nix @@ -14,16 +14,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "maturin"; - version = "1.15.0"; + version = "1.16.0"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; tag = "v${finalAttrs.version}"; - hash = "sha256-elK82eg/m33GYNWeZUSfKxFVJS6fMRatHl66NgvxcxE="; + hash = "sha256-Bqqq+oVivqrpbEXoWRwMQ6slefnPcEGSnLRXy5SIyys="; }; - cargoHash = "sha256-WRVXmhwhbOf2Isjvyqw3d4scA5Vs8Vkyy1m7WC3xb0s="; + cargoHash = "sha256-Ch2FOMk7KkZrb+iqJeUI0NfHltEI2sXpGkT0m6jnbp0="; nativeBuildInputs = [ pkg-config No auto update branch exists Old version 1.15.0" not present in staging derivation file with contents: { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, testers, nix-update-script, maturin, python3, pkg-config, zstd, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "maturin"; version = "1.16.0"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; tag = "v${finalAttrs.version}"; hash = "sha256-Bqqq+oVivqrpbEXoWRwMQ6slefnPcEGSnLRXy5SIyys="; }; cargoHash = "sha256-Ch2FOMk7KkZrb+iqJeUI0NfHltEI2sXpGkT0m6jnbp0="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ zstd ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; # Requires network access, fails in sandbox. doCheck = false; passthru = { tests = { version = testers.testVersion { package = maturin; }; pyo3 = python3.pkgs.callPackage ./pyo3-test { pyproject = true; buildAndTestSubdir = "examples/word-count"; preConfigure = ""; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; }; }; updateScript = nix-update-script { }; }; __structuredAttrs = true; meta = { description = "Build and publish Rust crates Python packages"; longDescription = '' Build and publish Rust crates with PyO3, rust-cpython, and cffi bindings as well as Rust binaries as Python packages. This project is meant as a zero-configuration replacement for setuptools-rust and Milksnake. It supports building wheels for Python and can upload them to PyPI. ''; homepage = "https://github.com/PyO3/maturin"; changelog = "https://github.com/PyO3/maturin/blob/v${finalAttrs.version}/Changelog.md"; license = with lib.licenses; OR [ asl20 mit ]; maintainers = with lib.maintainers; [ getchoo miniharinn ]; mainProgram = "maturin"; }; })