blob: 5e9fcf4c61e9a98d2f5e42def42c8b3b0553b44d (
about) (
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
36
37
38
39
40
41
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sseclient-py";
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mpetazzoni";
repo = "sseclient";
rev = "sseclient-py-${version}";
hash = "sha256-rNiJqR7/e+Rhi6kVBY8gZJZczqSUsyszotXkb4OKfWk=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sseclient"
];
pytestFlagsArray = [
"tests/unittests.py"
];
meta = with lib; {
description = "Pure-Python Server Side Events (SSE) client";
homepage = "https://github.com/mpetazzoni/sseclient";
changelog = "https://github.com/mpetazzoni/sseclient/releases/tag/sseclient-py-${version}";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
};
}
|