python3Packages.sseclient-py: fix build
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user