2018-12-01 10:51:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, python-engineio
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-socketio";
|
2019-02-14 07:37:28 +00:00
|
|
|
version = "3.1.2";
|
2018-12-01 10:51:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:28 +00:00
|
|
|
sha256 = "aa702157694d55a743fb6f1cc0bd1af58fbfda8a7d71d747d4b12d6dac29cab3";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|