Skip to content

Commit

Permalink
python313Packages.gattlib: fix build against Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Jan 13, 2025
1 parent 885a7fd commit f39005f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/gattlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
substituteAll,
pkg-config,
glibc,
Expand All @@ -25,6 +26,11 @@ buildPythonPackage rec {
};

patches = [
# Fix build for Python 3.13
(fetchpatch {
url = "https://github.com/oscaracena/pygattlib/commit/73a73b71cfc139e1e0a08816fb976ff330c77ea5.patch";
hash = "sha256-/Y/CZNdN/jcxWroqRfdCH2rPUxZUbug668MIAow0scs=";
})
(substituteAll {
src = ./setup.patch;
boost_version =
Expand Down

0 comments on commit f39005f

Please sign in to comment.