17 buildPythonPackage rec {
22 disabled = pythonOlder "3.9";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-VsIYOGNEdX4rxjEa01M77arA3ddJS3cPFxXlf13QTuE=";
31 # we don't need to use the hatch-regex-commit plugin
33 substituteInPlace pyproject.toml \
34 --replace-fail 'source = "regex_commit"' "" \
35 --replace-fail 'commit_extra_args = ["-e"]' "" \
36 --replace-fail '"hatch-regex-commit"' "" \
37 --replace-fail 'addopts = "--cov=httpx_ws/ --cov-report=term-missing"' ""
40 build-system = [ hatchling ];
56 pythonImportsCheck = [ "httpx_ws" ];
64 description = "WebSocket support for HTTPX";
65 homepage = "https://github.com/frankie567/httpx-ws";
66 changelog = "https://github.com/frankie567/httpx-ws/releases/tag/v${version}";
67 license = licenses.mit;