blob: 251c0a3ab5eaa17c9bdd21afac03b85ab1d67673 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sseclient-py";
version = "1.8.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mpetazzoni";
repo = "sseclient";
rev = "sseclient-py-${version}";
hash = "sha256-rNiJqR7/e+Rhi6kVBY8gZJZczqSUsyszotXkb4OKfWk=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sseclient" ];
enabledTestPaths = [ "tests/unittests.py" ];
meta = {
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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jamiemagee ];
};
}
|