Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: maturin 1.12.6 -> 1.14.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/gp3wbsgj0h98a3p3j221kck85841kw8f-packages.json.drv building '/nix/store/gp3wbsgj0h98a3p3j221kck85841kw8f-packages.json.drv'... Going to be running update for following packages: - maturin-1.12.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - maturin-1.12.6: UPDATING ... - maturin-1.12.6: 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 8c08f6a0643f..8b7d49c80945 100644 --- a/pkgs/by-name/ma/maturin/package.nix +++ b/pkgs/by-name/ma/maturin/package.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "maturin"; - version = "1.12.6"; + version = "1.14.0"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; tag = "v${finalAttrs.version}"; - hash = "sha256-NQ94RdQTQlRR5+2dC95cFNhwYliHmkD11JWyGt6BV6g="; + hash = "sha256-msspA9nrUI+qC8JCacGm3pE/I3/DhZQkTVA1LKbN0Ck="; }; - cargoHash = "sha256-9VqS9wvQAsSYNhH7B9WlD6SZjXR4S2sYzYoNy6vbYBM="; + cargoHash = "sha256-Sc4DXaVh8ZXebP2aJ4jLjc0XFNLTXIkLntbavUP4y6E="; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv No auto update branch exists Old version 1.12.6" not present in staging derivation file with contents: { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, testers, nix-update-script, maturin, python3, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "maturin"; version = "1.13.3"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; tag = "v${finalAttrs.version}"; hash = "sha256-xVR/R/aQ6Kvx7w/X9gedjJLzlxz+5nhnwjxsiyKcg0A="; }; cargoHash = "sha256-awdc2SLEfMP4cLG+RvQbeYPn1o9Ft7sqOnRy8iQqjB0="; buildInputs = 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 { }; }; 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; [ asl20 # or mit ]; maintainers = with lib.maintainers; [ getchoo miniharinn ]; mainProgram = "maturin"; }; })