1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 setuptools, 8 9 # tests 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "python-osc"; 15 version = "1.9.3"; 16 pyproject = true; 17 18 src = fetchPypi { 19 pname = "python_osc"; 20 inherit version; 21 hash = "sha256-vQ+kDe9DzlCYlHCf6w4Y8CGSrKGSxebI/iumnljyF5Q="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 pythonImportsCheck = [ "pythonosc" ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Open Sound Control server and client in pure python"; 32 homepage = "https://github.com/attwad/python-osc"; 33 changelog = "https://github.com/attwad/python-osc/blob/v${version}/CHANGELOG.md"; 34 license = licenses.unlicense; 35 maintainers = with maintainers; [ anirrudh ]; 36 }; 37}