From bc46fa17aea0a1c65a187e50662ee6574e541e6f Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Mon, 27 Oct 2025 10:05:23 +0100 Subject: [PATCH] python3Packages.stringzilla: 4.2.1 -> 4.2.2 --- .../python-modules/stringzilla/default.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/stringzilla/default.nix b/pkgs/development/python-modules/stringzilla/default.nix index 35876032eea4..131ce9ae00c6 100644 --- a/pkgs/development/python-modules/stringzilla/default.nix +++ b/pkgs/development/python-modules/stringzilla/default.nix @@ -6,31 +6,20 @@ pytest-repeat, pytestCheckHook, setuptools, - stdenv, }: buildPythonPackage rec { pname = "stringzilla"; - version = "4.2.1"; + version = "4.2.2"; pyproject = true; src = fetchFromGitHub { owner = "ashvardanian"; repo = "stringzilla"; tag = "v${version}"; - hash = "sha256-0CIekVxChvH912vFnBF2FR1YyIpxi3SD7KhBlh7yFGA="; + hash = "sha256-J1k8gYPStnnXHFvbHG6nHuQMQy1+XSiS5ERk/reL/Z4="; }; - # Define _POSIX_C_SOURCE to enable POSIX signal handling for ARM capability detection - # See: https://github.com/ashvardanian/StringZilla/pull/263 - env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE=200809L"; - - postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' - # error: unsupported option '-mfloat-abi=' for target 'aarch64-apple-darwin' - substituteInPlace setup.py \ - --replace-fail '"-mfloat-abi=hard",' "" - ''; - build-system = [ setuptools ];