2021-09-26 12:46:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2024-01-02 11:29:13 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
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;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
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-01-02 11:29:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"pythonosc"
|
|
|
|
];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|