2018-12-01 10:51:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, python-engineio
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-socketio";
|
2019-10-24 07:47:46 +01:00
|
|
|
version = "4.3.1";
|
2018-12-01 10:51:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:46 +01:00
|
|
|
sha256 = "506b2cf7a520b40ea0b3f25e1272eff8de134dce6f471c1f6bc0de8c90fe8c57";
|
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";
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://github.com/miguelgrinberg/python-socketio/;
|
2018-12-01 10:51:45 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|