flake/packages/gradio-client/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

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; [ ];
};
}