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
52 lines
970 B
Nix
52 lines
970 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, hatch-fancy-pypi-readme
|
|
, hatch-requirements-txt
|
|
, hatchling
|
|
, fsspec
|
|
, httpx
|
|
, huggingface-hub
|
|
, packaging
|
|
, requests
|
|
, typing-extensions
|
|
, websockets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gradio-client";
|
|
version = "0.2.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "gradio_client";
|
|
inherit version;
|
|
hash = "sha256-GiTdegmXbbcP0yzbVRK297FcGghPMQtfazAhyXlNkKQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatch-fancy-pypi-readme
|
|
hatch-requirements-txt
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
fsspec
|
|
httpx
|
|
huggingface-hub
|
|
packaging
|
|
requests
|
|
typing-extensions
|
|
websockets
|
|
];
|
|
|
|
pythonImportsCheck = [ "gradio_client" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for easily interacting with trained machine learning models";
|
|
homepage = "https://github.com/gradio-app/gradio";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|