This is a fork of pyliblo which has been unmaintained for 1 years. It is reputable as Debian packages it and has support from at least raysession.
46 lines
901 B
Nix
46 lines
901 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
python,
|
|
liblo,
|
|
cython,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyliblo3";
|
|
version = "0.16.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gesellkammer";
|
|
repo = "pyliblo3";
|
|
tag = "v${version}";
|
|
hash = "sha256-QfwZXkUT4U2Gfbv3rk0F/bze9hwJGn7H8t0X1SWqIuc=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
cython
|
|
];
|
|
|
|
buildInputs = [ liblo ];
|
|
|
|
pythonImportsCheck = [ "pyliblo3" ];
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
${python.interpreter} ./test/unit.py
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/gesellkammer/pyliblo3/";
|
|
description = "Python wrapper for the liblo OSC library";
|
|
changelog = "https://github.com/gesellkammer/pyliblo3/blob/${src.tag}/NEWS";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = [ lib.maintainers.archercatneo ];
|
|
};
|
|
}
|