pythonPackages.gevent-websocket: refactor move to python-modules
This commit is contained in:
parent
cdd7e77ac4
commit
f7b0a11dd8
27
pkgs/development/python-modules/gevent-websocket/default.nix
Normal file
27
pkgs/development/python-modules/gevent-websocket/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, gevent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gevent-websocket";
|
||||
version = "0.9.3";
|
||||
# SyntaxError in tests.
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07rqwfpbv13mk6gg8mf0bmvcf6siyffjpgai1xd8ky7r801j4xb4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ gevent ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.gitlab.com/noppo/gevent-websocket;
|
||||
description = "Websocket handler for the gevent pywsgi server, a Python network library";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
@ -2372,20 +2372,7 @@ in {
|
||||
|
||||
geojson = callPackage ../development/python-modules/geojson { };
|
||||
|
||||
gevent-websocket = buildPythonPackage rec {
|
||||
name = "gevent-websocket-0.9.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/gevent-websocket/${name}.tar.gz";
|
||||
sha256 = "07rqwfpbv13mk6gg8mf0bmvcf6siyffjpgai1xd8ky7r801j4xb4";
|
||||
};
|
||||
|
||||
# SyntaxError in tests.
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = with self; [ gevent ];
|
||||
|
||||
};
|
||||
gevent-websocket = callPackage ../development/python-modules/gevent-websocket { };
|
||||
|
||||
genzshcomp = buildPythonPackage {
|
||||
name = "genzshcomp-0.5.1";
|
||||
|
Loading…
Reference in New Issue
Block a user