mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
d44d4844a6
Extend build inputs to include gunicorn and enable building for python3
27 lines
545 B
Nix
27 lines
545 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, gevent
|
|
, gunicorn
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gevent-websocket";
|
|
version = "0.10.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky";
|
|
};
|
|
|
|
propagatedBuildInputs = [ gevent gunicorn ];
|
|
|
|
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;
|
|
};
|
|
|
|
}
|