summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cffi (follow)
Commit message (Expand)AuthorAgeFilesLines
* Revert "Revert "python312Packages.cffi: remove unnecessary Darwin patch""•••This reverts commit 340c3f68329b191bef56ad0eafa6b0a8c9fac85c. Randy Eckenrode2025-02-152-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. FliegendeWurst2025-02-031-2/+22
* python312Packages.cffi: disable checks for pkgsLLVM build•••pkgsLLVM's check environment doesn't appear to supply a cc Robert Scott2025-01-121-1/+1
* python3Packages.cffi: disable a test on FreeBSDAudrey Dutcher2024-11-171-0/+5
* python3Packages.cffi: remove some obsolete darwin patchesAudrey Dutcher2024-11-172-43/+13
* Merge master into staging-nextgithub-actions[bot]2024-09-281-5/+4
|\
| * python3Packages.cffi: use build-system/dependencies (#342042)Martin Weinelt2024-09-281-5/+4
| |\
| | * python3Packages.cffi: use build-system/dependenciesStefan Frijters2024-09-151-5/+4
* | | Merge branch 'master' into staging-nextArtturin2024-09-251-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" ``` Artturin2024-09-251-1/+1
* | | Merge remote-tracking branch 'origin/staging-next' into stagingK9002024-09-201-2/+0
|\| |
| * | treewide: remove unused inputsPeder Bergebakken Sundt2024-09-181-2/+0
| |/
* / python312Packages.cffi: 1.17.0 -> 1.17.1•••https://github.com/python-cffi/cffi/releases/tag/v1.17.1 Martin Weinelt2024-09-061-2/+2
|/
* python312Packages.cffi: 1.16.0 -> 1.17.0•••https://github.com/python-cffi/cffi/releases/tag/v1.17.0 Martin Weinelt2024-08-071-15/+2
* python3Packages.cffi: use ccVersion in version check•••Co-authored-by: Sandro <sandro.jaeckel@gmail.com>Randy Eckenrode2024-06-271-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 Eckenrode2024-06-261-2/+5
* python313Packages.cffi: fix buildMartin Weinelt2024-06-161-0/+14
* python3Packages: format with nixfmtMartin Weinelt2024-05-221-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. Everett2024-01-121-2/+9
* python311Packages.cffi: 1.15.1 -> 1.16.0•••https://github.com/python-cffi/cffi/releases/tag/v1.16.0 Martin Weinelt2023-10-242-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 Eckenrode2023-05-292-0/+17
* python3.pkgs: Migrate fetchers to use hash•••when they already rely on SRI hashes. Martin Weinelt2023-03-031-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 Artturin2023-02-221-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 Girol2023-01-211-1/+1
* python3Packages.cffi: Disable failing test on darwinMartin Weinelt2023-01-081-0/+6
* python3Packages.cffi: Apply patches for pytest 7.2.0 compatMartin Weinelt2023-01-051-0/+18
* Merge remote-tracking branch 'origin/staging-next' into stagingMartin Weinelt2022-12-031-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 Kohlmeyer2022-10-281-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 Ni2022-11-202-5/+45
|/
* python3Packages.cffi: drop empty dev outputMartin Weinelt2022-08-251-2/+0
* python3Packages.cffi: 1.15.0 -> 1.15.1Martin Weinelt2022-07-211-2/+2
* python39Packages.cffi: move prePatch to postPatch to not break patchesSandro Jäckel2022-04-151-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 Babrou2021-12-251-1/+3
* python3Packages.cffi: 1.14.6 -> 1.15.0Jonathan Ringer2021-11-301-2/+2
* cffi: Silence warning causing test failurestoonn2021-11-241-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. toonn2021-11-241-1/+9
* cffi: Reenable checks to reveal Darwin problem•••This problem can now be considered investigated. toonn2021-11-241-1/+1
* cffi: Drop unnecessary libm substitutestoonn2021-11-241-11/+0
* python3Packages.cffi: 1.14.5 -> 1.14.6Martin Weinelt2021-09-011-2/+2
* pythonPackages.cffi: move libffi to buildInputsRobert Schütz2021-05-011-1/+3
* pythonPackages.cffi: use pytestCheckHookRobert Schütz2021-05-011-5/+3
* python3Packages.cffi: 1.14.4 -> 1.14.5Frederik Rietdijk2021-02-261-2/+2
* pkgs/development/python-modules: stdenv.lib -> libPavol Rusnak2021-01-241-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 Profpatsch2021-01-111-2/+2
* python3Packages.cffi: 1.14.3 -> 1.14.4Frederik Rietdijk2020-12-011-2/+2
* python3Packages.cffi: 1.14.2 -> 1.14.3Frederik Rietdijk2020-11-051-2/+2
* python: cffi: 1.14.1 -> 1.14.2Frederik Rietdijk2020-08-161-2/+2
* python: cffi: 1.14.0 -> 1.14.1Frederik Rietdijk2020-08-041-2/+2
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-101-1/+1
* pythonPackages.cffi: 1.13.2 -> 1.14.0Jonathan Ringer2020-03-051-2/+2