at 25.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchurl, 5 isPyPy, 6 liblo, 7 cython_0, 8}: 9 10buildPythonPackage rec { 11 pname = "pyliblo"; 12 version = "0.10.0"; 13 format = "setuptools"; 14 disabled = isPyPy; 15 16 src = fetchurl { 17 url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz"; 18 sha256 = "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"; 19 }; 20 21 patches = [ 22 (fetchurl { 23 url = "https://git.alpinelinux.org/aports/plain/community/py3-pyliblo/py3.11.patch?id=a7e1eca5533657ddd7e37c43e67e8126e3447258"; 24 hash = "sha256-4yCWNQaE/9FHGTVuvNEimBNuViWZ9aSJMcpTOP0fnM0="; 25 }) 26 # Fix compile error due to incompatible pointer type 'lo_blob_dataptr' 27 (fetchurl { 28 url = "https://github.com/dsacre/pyliblo/commit/ebbb255d6a73384ec2560047eab236660d4589db.patch?full_index=1"; 29 hash = "sha256-ZBAmBxSUT2xgoDVqSjq8TxW2jz3xR/pdCf2O3wMKvls="; 30 }) 31 ]; 32 33 build-system = [ cython_0 ]; 34 35 buildInputs = [ liblo ]; 36 37 meta = with lib; { 38 homepage = "https://das.nasophon.de/pyliblo/"; 39 description = "Python wrapper for the liblo OSC library"; 40 license = licenses.lgpl21Only; 41 }; 42}