| Commit message (Expand) | Author | Age | Files | Lines |
| * | Revert "Revert "python312Packages.cffi: remove unnecessary Darwin patch""•••This reverts commit 340c3f68329b191bef56ad0eafa6b0a8c9fac85c.
| Randy Eckenrode | 2025-02-15 | 2 | -43/+0 |
| * | pypy310Packages.cffi: make proper package•••Some packages, for example brotlicffi, expect to get pycparser.
Make a placeholder package for their benefit.
It remains to be seen whether the lack of a directory in
site-packages will cause trouble.
| FliegendeWurst | 2025-02-03 | 1 | -2/+22 |
| * | python312Packages.cffi: disable checks for pkgsLLVM build•••pkgsLLVM's check environment doesn't appear to supply a
cc
| Robert Scott | 2025-01-12 | 1 | -1/+1 |
| * | python3Packages.cffi: disable a test on FreeBSD | Audrey Dutcher | 2024-11-17 | 1 | -0/+5 |
| * | python3Packages.cffi: remove some obsolete darwin patches | Audrey Dutcher | 2024-11-17 | 2 | -43/+13 |
| * | Merge master into staging-next | github-actions[bot] | 2024-09-28 | 1 | -5/+4 |
| |\ |
|
| | * | python3Packages.cffi: use build-system/dependencies (#342042) | Martin Weinelt | 2024-09-28 | 1 | -5/+4 |
| | |\ |
|
| | | * | python3Packages.cffi: use build-system/dependencies | Stefan Frijters | 2024-09-15 | 1 | -5/+4 |
| * | | | Merge branch 'master' into staging-next | Artturin | 2024-09-25 | 1 | -1/+1 |
| |\| | |
|
| | * | | treewide: replace `stdenv.is` with `stdenv.hostPlatform.is`•••In preparation for the deprecation of `stdenv.isX`.
These shorthands are not conducive to cross-compilation because they
hide the platforms.
Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way
One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059
There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.
```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
| Artturin | 2024-09-25 | 1 | -1/+1 |
| * | | | Merge remote-tracking branch 'origin/staging-next' into staging | K900 | 2024-09-20 | 1 | -2/+0 |
| |\| | |
|
| | * | | treewide: remove unused inputs | Peder Bergebakken Sundt | 2024-09-18 | 1 | -2/+0 |
| | |/ |
|
| * / | python312Packages.cffi: 1.17.0 -> 1.17.1•••https://github.com/python-cffi/cffi/releases/tag/v1.17.1
| Martin Weinelt | 2024-09-06 | 1 | -2/+2 |
| |/ |
|
| * | python312Packages.cffi: 1.16.0 -> 1.17.0•••https://github.com/python-cffi/cffi/releases/tag/v1.17.0
| Martin Weinelt | 2024-08-07 | 1 | -15/+2 |
| * | python3Packages.cffi: use ccVersion in version check•••Co-authored-by: Sandro <sandro.jaeckel@gmail.com> | Randy Eckenrode | 2024-06-27 | 1 | -1/+1 |
| * | python3Packages.cffi: fix build with Darwin bootstrap clang•••The bootstrap clang reports its version as “boot”, which results in unwanted test failures when the `-Wnull-pointer-subtraction` workaround is disabled.
| Randy Eckenrode | 2024-06-26 | 1 | -2/+5 |
| * | python313Packages.cffi: fix build | Martin Weinelt | 2024-06-16 | 1 | -0/+14 |
| * | python3Packages: format with nixfmt | Martin Weinelt | 2024-05-22 | 1 | -71/+70 |
| * | python3Packages.cffi: fix missing fn on old macos•••If I understand correctly (I may not), cffi is assuming the system
libffi here, which doesn't apply in our case.
The underlying defines (which affect macOS before 10.15) have been in
cffi for 4+ years now, so I'm not quite sure how we haven't picked up
on it already.
| Travis A. Everett | 2024-01-12 | 1 | -2/+9 |
| * | python311Packages.cffi: 1.15.1 -> 1.16.0•••https://github.com/python-cffi/cffi/releases/tag/v1.16.0
| Martin Weinelt | 2023-10-24 | 2 | -45/+26 |
| * | python3Packages.cffi: fix build with newer clang•••cffi uses a technique to find the offset of a struct that causes newer
clangs to issue a warning regarding null pointer subtraction. This
patch silences the warning, so cffi can build.
| Randy Eckenrode | 2023-05-29 | 2 | -0/+17 |
| * | python3.pkgs: Migrate fetchers to use hash•••when they already rely on SRI hashes.
| Martin Weinelt | 2023-03-03 | 1 | -2/+2 |
| * | treewide: move NIX_CFLAGS_COMPILE to the env attrset•••with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
| Artturin | 2023-02-22 | 1 | -1/+1 |
| * | treewide: switch to nativeCheckInputs•••checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
| Guillaume Girol | 2023-01-21 | 1 | -1/+1 |
| * | python3Packages.cffi: Disable failing test on darwin | Martin Weinelt | 2023-01-08 | 1 | -0/+6 |
| * | python3Packages.cffi: Apply patches for pytest 7.2.0 compat | Martin Weinelt | 2023-01-05 | 1 | -0/+18 |
| * | Merge remote-tracking branch 'origin/staging-next' into staging | Martin Weinelt | 2022-12-03 | 1 | -6/+16 |
| |\ |
|
| | * | python311Packages.cffi: patch failing test•••This seems like an upstream issue with the final release of python3.11.
Sadly, their gitlab is down right now, but I will pass the patch
upstream as soon as I can.
| Simon Kohlmeyer | 2022-10-28 | 1 | -1/+12 |
| * | | python310Packages.cffi: patch closures to work on M1 machines•••Trusts the libffi library inside of nixpkgs on Apple devices.
When Apple's fork of libffi is not detected, cffi assumes that libffi
uses a strategy for creating closures (i.e. callbacks) that is in
certain cases susceptible to a security exploit.
Based on some analysis I did:
https://groups.google.com/g/python-cffi/c/xU0Usa8dvhk
I believe that libffi already contains the code from Apple's fork that
is deemed safe to trust in cffi.
It uses a more sophisticated strategy for creating trampolines to
support closures that works on Apple Silicon, while the simple approach
that cffi falls back on does not, so this patch enables code that uses
closures on M1 Macs again.
Notably, pyOpenSSL is impacted and will be fixed by this, reported in
https://github.com/pyca/pyopenssl/issues/873
Note that libffi closures still will not work on signed apps without the
com.apple.security.cs.allow-unsigned-executable-memory entitlement while
https://github.com/libffi/libffi/pull/621
is still open (which I haven't tested but is my best guess from reading).
I am hopeful that all of these changes will be upstreamed back into cffi
and libffi, and that this comment provides enough breadcrumbs for future
maintainers to track and clean this up.
| Theodore Ni | 2022-11-20 | 2 | -5/+45 |
| |/ |
|
| * | python3Packages.cffi: drop empty dev output | Martin Weinelt | 2022-08-25 | 1 | -2/+0 |
| * | python3Packages.cffi: 1.15.0 -> 1.15.1 | Martin Weinelt | 2022-07-21 | 1 | -2/+2 |
| * | python39Packages.cffi: move prePatch to postPatch to not break patches | Sandro Jäckel | 2022-04-15 | 1 | -4/+5 |
| * | cffi: disable tests on aarch64-darwin•••The tests were disabled on Darwin prior to 54b5495e4e63, which probably
fixed them for x86_64-darwin, but not for aarch64-darwin.
| Ivan Babrou | 2021-12-25 | 1 | -1/+3 |
| * | python3Packages.cffi: 1.14.6 -> 1.15.0 | Jonathan Ringer | 2021-11-30 | 1 | -2/+2 |
| * | cffi: Silence warning causing test failures | toonn | 2021-11-24 | 1 | -1/+1 |
| * | cffi: Include pkg-config•••The build was falling back on impure paths because pkg-config was
missing. This caused a mismatch between headers picked up at
compile-time and run-time, specifically `ffi.h` from libffi and then one
in `/usr/include/ffi` on macOS.
| toonn | 2021-11-24 | 1 | -1/+9 |
| * | cffi: Reenable checks to reveal Darwin problem•••This problem can now be considered investigated.
| toonn | 2021-11-24 | 1 | -1/+1 |
| * | cffi: Drop unnecessary libm substitutes | toonn | 2021-11-24 | 1 | -11/+0 |
| * | python3Packages.cffi: 1.14.5 -> 1.14.6 | Martin Weinelt | 2021-09-01 | 1 | -2/+2 |
| * | pythonPackages.cffi: move libffi to buildInputs | Robert Schütz | 2021-05-01 | 1 | -1/+3 |
| * | pythonPackages.cffi: use pytestCheckHook | Robert Schütz | 2021-05-01 | 1 | -5/+3 |
| * | python3Packages.cffi: 1.14.4 -> 1.14.5 | Frederik Rietdijk | 2021-02-26 | 1 | -2/+2 |
| * | pkgs/development/python-modules: stdenv.lib -> lib | Pavol Rusnak | 2021-01-24 | 1 | -3/+3 |
| * | treewide: with stdenv.lib; in meta -> with lib;•••Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
| Profpatsch | 2021-01-11 | 1 | -2/+2 |
| * | python3Packages.cffi: 1.14.3 -> 1.14.4 | Frederik Rietdijk | 2020-12-01 | 1 | -2/+2 |
| * | python3Packages.cffi: 1.14.2 -> 1.14.3 | Frederik Rietdijk | 2020-11-05 | 1 | -2/+2 |
| * | python: cffi: 1.14.1 -> 1.14.2 | Frederik Rietdijk | 2020-08-16 | 1 | -2/+2 |
| * | python: cffi: 1.14.0 -> 1.14.1 | Frederik Rietdijk | 2020-08-04 | 1 | -2/+2 |
| * | treewide: Per RFC45, remove all unquoted URLs | Michael Reilly | 2020-04-10 | 1 | -1/+1 |
| * | pythonPackages.cffi: 1.13.2 -> 1.14.0 | Jonathan Ringer | 2020-03-05 | 1 | -2/+2 |