libjack2: fix python 3.12 support
Backports the waf 2.0.26 update, which adds Python 3.12 support to the build system.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, python3Packages, makeWrapper
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch2, pkg-config, python3Packages, makeWrapper
|
||||
, libsamplerate, libsndfile, readline, eigen, celt
|
||||
, wafHook
|
||||
# Darwin Dependencies
|
||||
@@ -46,6 +46,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
aften AudioUnit CoreAudio Accelerate libobjc
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# Python 3.12 support
|
||||
name = "jack2-waf2.0.26.patch";
|
||||
url = "https://github.com/jackaudio/jack2/commit/250420381b1a6974798939ad7104ab1a4b9a9994.patch";
|
||||
hash = "sha256-M/H72lLTeddefqth4BSkEfySZRYMIzLErb7nIgVN0u8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs --build svnversion_regenerate.sh
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user