Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 37 lines 841 B 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 ]; 27 28 build-system = [ cython_0 ]; 29 30 buildInputs = [ liblo ]; 31 32 meta = with lib; { 33 homepage = "https://das.nasophon.de/pyliblo/"; 34 description = "Python wrapper for the liblo OSC library"; 35 license = licenses.lgpl21Only; 36 }; 37}