pythonPackages.sseclient-py: init at 1.7

This commit is contained in:
Jamie Magee 2020-09-24 14:00:50 +02:00
parent bbc13f8d39
commit 4e1b0f54e4
No known key found for this signature in database
GPG Key ID: 4429B642B1718654
2 changed files with 27 additions and 0 deletions

@ -0,0 +1,25 @@
{ buildPythonPackage, fetchFromGitHub, lib, python }:
buildPythonPackage rec {
pname = "sseclient-py";
version = "1.7";
src = fetchFromGitHub {
owner = "mpetazzoni";
repo = "sseclient";
rev = "sseclient-py-${version}";
sha256 = "0iar4w8gryhjzqwy5k95q9gsv6xpmnwxkpz33418nw8hxlp86wfl";
};
# based on tox.ini
checkPhase = ''
${python.interpreter} tests/unittests.py
'';
meta = with lib; {
description = "Pure-Python Server Side Events (SSE) client";
homepage = "https://github.com/mpetazzoni/sseclient";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
};
}

@ -6762,6 +6762,8 @@ in {
sseclient = callPackage ../development/python-modules/sseclient { };
sseclient-py = callPackage ../development/python-modules/sseclient-py { };
sshpubkeys = callPackage ../development/python-modules/sshpubkeys { };
sshtunnel = callPackage ../development/python-modules/sshtunnel { };