python3Packages.gevent-websocket: add pythonImportsCheck
This commit is contained in:
parent
405b51f2ae
commit
4169343eeb
@ -3,29 +3,37 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, gevent
|
, gevent
|
||||||
, gunicorn
|
, gunicorn
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gevent-websocket";
|
pname = "gevent-websocket";
|
||||||
version = "0.10.1";
|
version = "0.10.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky";
|
hash = "sha256-fq7zKWgpDJEh98Nblz4swwL/sHbQGMkGjS9cqLLYX7A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ gevent gunicorn ];
|
propagatedBuildInputs = [
|
||||||
|
gevent
|
||||||
|
gunicorn
|
||||||
|
];
|
||||||
|
|
||||||
# zero tests run
|
# Module has no test
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "geventwebsocket" ];
|
pythonImportsCheck = [
|
||||||
|
"geventwebsocket"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Websocket handler for the gevent pywsgi server";
|
||||||
homepage = "https://www.gitlab.com/noppo/gevent-websocket";
|
homepage = "https://www.gitlab.com/noppo/gevent-websocket";
|
||||||
description = "Websocket handler for the gevent pywsgi server, a Python network library";
|
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user