nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 972 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 flask, 7 pytestCheckHook, 8 python-socketio, 9 redis, 10}: 11 12buildPythonPackage rec { 13 pname = "flask-socketio"; 14 version = "5.6.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "miguelgrinberg"; 19 repo = "Flask-SocketIO"; 20 tag = "v${version}"; 21 hash = "sha256-1FMAooXktrbA4FDHrS0CQuqoTV6B4xWh5IIxRTDAzLs="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 flask 28 python-socketio 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 redis 34 ]; 35 36 enabledTestPaths = [ "test_socketio.py" ]; 37 38 pythonImportsCheck = [ "flask_socketio" ]; 39 40 meta = { 41 description = "Socket.IO integration for Flask applications"; 42 homepage = "https://github.com/miguelgrinberg/Flask-SocketIO/"; 43 changelog = "https://github.com/miguelgrinberg/Flask-SocketIO/blob/${src.tag}/CHANGES.md"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ mic92 ]; 46 }; 47}