From f05729b94c0191e5e6d7963ecef72962edc9d751 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 16 May 2025 09:12:56 +0200 Subject: [PATCH] python313Packages.pendulum: 3.0.0 -> 3.1.0 https://github.com/sdispater/pendulum/blob/refs/tags/3.1.0/CHANGELOG.md --- .../python-modules/pendulum/default.nix | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/pendulum/default.nix b/pkgs/development/python-modules/pendulum/default.nix index b74866ffd026..283e2264e942 100644 --- a/pkgs/development/python-modules/pendulum/default.nix +++ b/pkgs/development/python-modules/pendulum/default.nix @@ -27,42 +27,24 @@ buildPythonPackage rec { pname = "pendulum"; - version = "3.0.0"; + version = "3.1.0"; pyproject = true; src = fetchFromGitHub { owner = "sdispater"; repo = "pendulum"; tag = version; - hash = "sha256-v0kp8dklvDeC7zdTDOpIbpuj13aGub+oCaYz2ytkEpI="; + hash = "sha256-ZjQaN5vT1+3UxwLNNsUmU4gSs6reUl90VSEumS0sEGY="; }; - postPatch = '' - substituteInPlace rust/Cargo.lock \ - --replace "3.0.0-beta-1" "3.0.0" - ''; - cargoRoot = "rust"; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; sourceRoot = "${src.name}/rust"; name = "${pname}-${version}"; - hash = "sha256-6WgGIfz9I+xRJqXWhjfGDZM1umYwVlUEpLAiecZNZmI="; - postPatch = '' - substituteInPlace Cargo.lock \ - --replace "3.0.0-beta-1" "3.0.0" - ''; + hash = "sha256-F5bCuvI8DcyeUTS7UyYBixCjuGFKGOXPw8HLVlYKuxA="; }; - patches = [ - # fix build on 32bit - # https://github.com/sdispater/pendulum/pull/842 - (fetchpatch { - url = "https://github.com/sdispater/pendulum/commit/6f2fcb8b025146ae768a5889be4a437fbd3156d6.patch"; - hash = "sha256-47591JvpADxGQT2q7EYWHfStaiWyP7dt8DPTq0tiRvk="; - }) - ]; - nativeBuildInputs = [ poetry-core rustPlatform.maturinBuildHook