1{ lib 2, buildPythonPackage 3, fetchurl 4, isPyPy 5, pythonAtLeast 6, liblo 7, cython 8}: 9 10buildPythonPackage rec { 11 pname = "pyliblo"; 12 version = "0.10.0"; 13 disabled = isPyPy; 14 15 src = fetchurl { 16 url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz"; 17 sha256 = "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"; 18 }; 19 20 patches = [ 21 (fetchurl { 22 url = "https://git.alpinelinux.org/aports/plain/community/py3-pyliblo/py3.11.patch?id=a7e1eca5533657ddd7e37c43e67e8126e3447258"; 23 hash = "sha256-4yCWNQaE/9FHGTVuvNEimBNuViWZ9aSJMcpTOP0fnM0="; 24 }) 25 ]; 26 27 buildInputs = [ liblo cython ]; 28 29 meta = with lib; { 30 homepage = "https://das.nasophon.de/pyliblo/"; 31 description = "Python wrapper for the liblo OSC library"; 32 license = licenses.lgpl21Only; 33 }; 34 35}