2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchurl,
|
|
|
|
isPyPy,
|
|
|
|
pythonAtLeast,
|
|
|
|
liblo,
|
|
|
|
cython_0,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyliblo";
|
|
|
|
version = "0.10.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-11-16 04:20:00 +00:00
|
|
|
disabled = isPyPy;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw";
|
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://git.alpinelinux.org/aports/plain/community/py3-pyliblo/py3.11.patch?id=a7e1eca5533657ddd7e37c43e67e8126e3447258";
|
|
|
|
hash = "sha256-4yCWNQaE/9FHGTVuvNEimBNuViWZ9aSJMcpTOP0fnM0=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ cython_0 ];
|
|
|
|
|
|
|
|
buildInputs = [ liblo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://das.nasophon.de/pyliblo/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python wrapper for the liblo OSC library";
|
2023-11-16 04:20:00 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|