summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sseclient/default.nix
blob: 0580cff4125c5d61adab19a855dd50512e6f62e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  requests,
  six,
}:

buildPythonPackage rec {
  pname = "sseclient";
  version = "0.0.27";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-sv5TTcszsdP6rRPWDFp8cY4o+FmH8qA07PXsJ5kYwRw=";
  };

  propagatedBuildInputs = [
    requests
    six
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [ "event_stream" ];

  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 ];
  };
}