1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/flask-sockets/default.nix
2020-01-21 13:32:28 -08:00

38 lines
707 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flask
, gevent
, gevent-websocket
}:
buildPythonPackage rec {
pname = "Flask-Sockets";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "072927da8edca0e81e024f5787e643c87d80b351b714de95d723becb30e0643b";
};
propagatedBuildInputs = [
flask
gevent
gevent-websocket
];
# upstream doesn't have any tests, single file
doCheck = false;
pythonImportsCheck = [
"flask_sockets"
];
meta = with lib; {
description = "Elegant WebSockets for your Flask apps";
homepage = "https://github.com/heroku-python/flask-sockets";
license = licenses.mit;
maintainers = [ maintainers.prusnak ];
};
}