2018-12-01 10:51:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, python-engineio
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-socketio";
|
2020-06-06 07:47:28 +01:00
|
|
|
version = "4.6.0";
|
2018-12-01 10:51:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:28 +01:00
|
|
|
sha256 = "358d8fbbc029c4538ea25bcaa283e47f375be0017fcba829de8a3a731c9df25a";
|
2018-12-01 10:51:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
python-engineio
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
# tests only on github, but latest github release not tagged
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Socket.IO server";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/miguelgrinberg/python-socketio/";
|
2018-12-01 10:51:45 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|