depot/third_party/nixpkgs/pkgs/development/python-modules/python-osc/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
770 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "python-osc";
version = "1.8.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-pc4bpWyNgt9Ryz8pRrXdM6cFInkazEuFZOYtKyCtnKo=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "pythonosc" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Open Sound Control server and client in pure python";
homepage = "https://github.com/attwad/python-osc";
changelog = "https://github.com/attwad/python-osc/blob/v${version}/CHANGELOG.md";
license = licenses.unlicense;
maintainers = with maintainers; [ anirrudh ];
};
}