From aebf2917d814af9b03f3f803bc0ae08d3102f8dd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 May 2025 17:15:37 +0200 Subject: [PATCH] maturin: 1.8.3 -> 1.8.6 https://github.com/PyO3/maturin/blob/v1.8.6/Changelog.md --- pkgs/by-name/ma/maturin/package.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/ma/maturin/package.nix b/pkgs/by-name/ma/maturin/package.nix index c9f694e68cf9..140083a3e636 100644 --- a/pkgs/by-name/ma/maturin/package.nix +++ b/pkgs/by-name/ma/maturin/package.nix @@ -3,7 +3,6 @@ stdenv, fetchFromGitHub, rustPlatform, - fetchpatch, libiconv, testers, nix-update-script, @@ -13,27 +12,17 @@ rustPlatform.buildRustPackage rec { pname = "maturin"; - version = "1.8.3"; + version = "1.8.6"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; rev = "v${version}"; - hash = "sha256-qMiFHoEm6Q3Pwz8Gv6U75rTKO2Pj81g9rhqdyYJKOys="; + hash = "sha256-Dfq8kBg6gk1j/Y1flOb2yw9hhY40n5gi4h08znI2Yw8="; }; useFetchCargoVendor = true; - cargoHash = "sha256-7YPUTTRo9+aBmVXLq5NfU+t5VPxfEQc4+rdQnPN+AZ0="; - - patches = [ - # Sorts RECORD file in wheel archives to make them deterministic. See: https://github.com/NixOS/nixpkgs/issues/384708 - # Remove on next bump https://github.com/PyO3/maturin/pull/2550 - (fetchpatch { - name = "wheel-deterministic-record.patch"; - url = "https://github.com/PyO3/maturin/commit/bade37e108514f4288c1dd6457119a257bf95db4.patch"; - hash = "sha256-jcZ/NMHKFYQuOfR+fu5UPykEljUq3l/+ZAx0Tlyu3Zw="; - }) - ]; + cargoHash = "sha256-LDVmNtpu+J8rnSlpTslwm6QcyN6E3ZlVdpmowKc/kZo="; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv