python3Packages.sseclient: migrate to pyproject (#558016)

This commit is contained in:
Yohann Boniface
2026-08-31 22:09:39 +00:00
committed by GitHub

View File

@@ -2,22 +2,27 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
requests,
six,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "sseclient";
version = "0.0.27";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-sv5TTcszsdP6rRPWDFp8cY4o+FmH8qA07PXsJ5kYwRw=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
requests
six
];
@@ -26,10 +31,12 @@ buildPythonPackage rec {
disabledTests = [ "event_stream" ];
pythonImportsCheck = [ "sseclient" ];
meta = {
description = "Client library for reading Server Sent Event streams";
homepage = "https://github.com/btubbs/sseclient";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ peterhoeg ];
};
}
})