mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 08:06: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
56 lines
954 B
Nix
56 lines
954 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, hatchling
|
|
, jinja2
|
|
, pyparsing
|
|
, pytest
|
|
, pytest-cov
|
|
, pytest-lazy-fixture
|
|
, requests
|
|
, transformers
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dynamicprompts";
|
|
version = "0.27.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-lS/UgfZoR4wWozdtSAFBenIRljuPxnL8fMQT3dIA7WE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
jinja2
|
|
pyparsing
|
|
];
|
|
|
|
passthru.optional-dependencies = {
|
|
dev = [
|
|
pytest
|
|
pytest-cov
|
|
pytest-lazy-fixture
|
|
];
|
|
feelinglucky = [
|
|
requests
|
|
];
|
|
magicprompt = [
|
|
transformers
|
|
];
|
|
};
|
|
|
|
pythonImportsCheck = [ "dynamicprompts" ];
|
|
|
|
meta = with lib; {
|
|
description = "Dynamic prompts templating library for Stable Diffusion";
|
|
homepage = "https://pypi.org/project/dynamicprompts/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|