Loading pkgs/development/python-modules/stringzilla/default.nix +8 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,10 @@ buildPythonPackage rec { hash = "sha256-0CIekVxChvH912vFnBF2FR1YyIpxi3SD7KhBlh7yFGA="; }; # 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 \ Loading @@ -46,6 +50,9 @@ buildPythonPackage rec { description = "SIMD-accelerated string search, sort, hashes, fingerprints, & edit distances"; homepage = "https://github.com/ashvardanian/stringzilla"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; maintainers = with lib.maintainers; [ aciceri dotlambda ]; }; } Loading
pkgs/development/python-modules/stringzilla/default.nix +8 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,10 @@ buildPythonPackage rec { hash = "sha256-0CIekVxChvH912vFnBF2FR1YyIpxi3SD7KhBlh7yFGA="; }; # 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 \ Loading @@ -46,6 +50,9 @@ buildPythonPackage rec { description = "SIMD-accelerated string search, sort, hashes, fingerprints, & edit distances"; homepage = "https://github.com/ashvardanian/stringzilla"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; maintainers = with lib.maintainers; [ aciceri dotlambda ]; }; }