mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
- KoboldAI is no longer upstream maintained, so is now deprecated in nixified.ai - InvokeAI: v2.3.1.post2 -> v3.3.0post3 - textgen: init at v1.7 - treewide: update flake inputs including nixpkgs - treewide: add a bunch of new dependencies and upgrade old ones
48 lines
817 B
Nix
48 lines
817 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, wheel
|
|
, fastapi
|
|
, python-socketio
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fastapi-socketio";
|
|
version = "0.0.10";
|
|
format = "pyproject";
|
|
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-IC+bMZ8BAAHL0RFOySoNnrX1ypMW6uX9QaYIjaCBJyc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
fastapi
|
|
python-socketio
|
|
];
|
|
|
|
passthru.optional-dependencies = {
|
|
test = [
|
|
pytest
|
|
];
|
|
};
|
|
|
|
pythonImportsCheck = [ "fastapi_socketio" ];
|
|
|
|
meta = with lib; {
|
|
description = "Easily integrate socket.io with your FastAPI app";
|
|
homepage = "https://pypi.org/project/fastapi-socketio/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|