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 || pythonAtLeast "3.11";
14
15 src = fetchurl {
16 url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
17 sha256 = "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw";
18 };
19
20 buildInputs = [ liblo cython ];
21
22 meta = with lib; {
23 homepage = "https://das.nasophon.de/pyliblo/";
24 description = "Python wrapper for the liblo OSC library";
25 license = licenses.lgpl21;
26 };
27
28}