Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sseclient / default.nix
blobbc1be1222bbe6c392675f479958b567bc03f056a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 , requests
7 , six
8 }:
10 buildPythonPackage rec {
11   pname = "sseclient";
12   version = "0.0.27";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-sv5TTcszsdP6rRPWDFp8cY4o+FmH8qA07PXsJ5kYwRw=";
20   };
22   propagatedBuildInputs = [
23     requests
24     six
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   disabledTests = [
32     "event_stream"
33   ];
35   meta = with lib; {
36     description = "Client library for reading Server Sent Event streams";
37     homepage = "https://github.com/btubbs/sseclient";
38     license = licenses.mit;
39     maintainers = with maintainers; [ peterhoeg ];
40   };