Commit 6993a946 authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.sseclient-py: fix build

parent 5929795d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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";