2021-09-23 22:13:12 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2023-11-29 12:14:10 +01:00
|
|
|
|
|
|
|
# build-system
|
2023-12-06 21:31:11 +01:00
|
|
|
setuptools,
|
2023-11-29 12:14:10 +01:00
|
|
|
|
|
|
|
# tests
|
|
|
|
pytestCheckHook,
|
2021-09-23 22:13:12 -04:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-osc";
|
2023-09-15 14:06:57 +02:00
|
|
|
version = "1.8.3";
|
2023-12-06 21:31:11 +01:00
|
|
|
pyproject = true;
|
|
|
|
|
2021-09-23 22:13:12 -04:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-09-15 14:06:57 +02:00
|
|
|
hash = "sha256-pc4bpWyNgt9Ryz8pRrXdM6cFInkazEuFZOYtKyCtnKo=";
|
2021-09-23 22:13:12 -04:00
|
|
|
};
|
|
|
|
|
2023-12-06 21:31:11 +01:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pythonosc" ];
|
2021-09-23 22:13:12 -04:00
|
|
|
|
2023-11-29 12:14:10 +01:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
2021-09-23 22:13:12 -04:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Open Sound Control server and client in pure python";
|
|
|
|
homepage = "https://github.com/attwad/python-osc";
|
2023-12-06 21:31:11 +01:00
|
|
|
changelog = "https://github.com/attwad/python-osc/blob/v${version}/CHANGELOG.md";
|
2021-09-23 22:13:12 -04:00
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = with maintainers; [ anirrudh ];
|
|
|
|
};
|
|
|
|
}
|