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