gpsd: cherry-pick Python 3.12 build fix

This commit is contained in:
K900 2024-07-01 18:35:53 +03:00
parent 91ea14cba6
commit e62732553a

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
# nativeBuildInputs
, scons
@ -75,6 +76,12 @@ stdenv.mkDerivation rec {
patches = [
./sconstruct-env-fixes.patch
# fix build with Python 3.12
(fetchpatch {
url = "https://gitlab.com/gpsd/gpsd/-/commit/9157b1282d392b2cc220bafa44b656d6dac311df.patch";
hash = "sha256-kFMn4HgidQvHwHfcSNH/0g6i1mgvEnZfvAUDPU4gljg=";
})
];
preBuild = ''