flake/packages/fastapi-events/default.nix
Max 079f83ba45 Major Upgrade/Refactor
- 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
2023-10-19 22:13:37 +01:00

36 lines
717 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "fastapi-events";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "melvinkcx";
repo = "fastapi-events";
rev = "v${version}";
hash = "sha256-dfLZDacu5jb2HcfI1Y2/xCDr1kTM6E5xlHAPratD+Yw=";
};
doCheck = false;
nativeBuildInputs = [
setuptools
wheel
];
pythonImportsCheck = [ "fastapi_events" ];
meta = with lib; {
description = "Asynchronous event dispatching/handling library for FastAPI and Starlette";
homepage = "https://github.com/melvinkcx/fastapi-events";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}