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