pythonPackages.sseclient-py: init at 1.7
This commit is contained in:
parent
bbc13f8d39
commit
4e1b0f54e4
25
pkgs/development/python-modules/sseclient-py/default.nix
Normal file
25
pkgs/development/python-modules/sseclient-py/default.nix
Normal file
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user