python3Packages.sseclient-py: fix build

This commit is contained in:
Sigmanificient
2026-03-26 11:28:33 +01:00
parent 5929795dab
commit 6993a946ca
@@ -2,13 +2,14 @@
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sseclient-py";
version = "1.9.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "mpetazzoni";
@@ -17,12 +18,12 @@ buildPythonPackage rec {
hash = "sha256-AIldZFElGgSbw38aZWCWI1N35MiE+b9D1s/XhD7aIvo=";
};
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sseclient" ];
enabledTestPaths = [ "tests/unittests.py" ];
meta = {
description = "Pure-Python Server Side Events (SSE) client";
homepage = "https://github.com/mpetazzoni/sseclient";