pythonPackages.gevent-socketio: refactor move to python-modules
This commit is contained in:
parent
5582de06a7
commit
cdd7e77ac4
29
pkgs/development/python-modules/gevent-socketio/default.nix
Normal file
29
pkgs/development/python-modules/gevent-socketio/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, versiontools
|
||||
, gevent-websocket
|
||||
, mock
|
||||
, pytest
|
||||
, gevent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gevent-socketio";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1zra86hg2l1jcpl9nsnqagy3nl3akws8bvrbpgdxk15x7ywllfak";
|
||||
};
|
||||
|
||||
buildInputs = [ versiontools gevent-websocket mock pytest ];
|
||||
propagatedBuildInputs = [ gevent ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/abourget/gevent-socketio;
|
||||
description = "SocketIO server based on the Gevent pywsgi server, a Python network library";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -2366,18 +2366,7 @@ in {
|
||||
|
||||
geventhttpclient = callPackage ../development/python-modules/geventhttpclient { };
|
||||
|
||||
gevent-socketio = buildPythonPackage rec {
|
||||
name = "gevent-socketio-0.3.6";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/gevent-socketio/${name}.tar.gz";
|
||||
sha256 = "1zra86hg2l1jcpl9nsnqagy3nl3akws8bvrbpgdxk15x7ywllfak";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ versiontools gevent-websocket mock pytest ];
|
||||
propagatedBuildInputs = with self; [ gevent ];
|
||||
|
||||
};
|
||||
gevent-socketio = callPackage ../development/python-modules/gevent-socketio { };
|
||||
|
||||
geopandas = callPackage ../development/python-modules/geopandas { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user