Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.8.3"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-pc4bpWyNgt9Ryz8pRrXdM6cFInkazEuFZOYtKyCtnKo="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 pythonImportsCheck = [ "pythonosc" ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 meta = with lib; { 30 description = "Open Sound Control server and client in pure python"; 31 homepage = "https://github.com/attwad/python-osc"; 32 changelog = "https://github.com/attwad/python-osc/blob/v${version}/CHANGELOG.md"; 33 license = licenses.unlicense; 34 maintainers = with maintainers; [ anirrudh ]; 35 }; 36}