Reformat everything
All checks were successful
/ test (push) Successful in 32s

This commit is contained in:
Andrea Ciceri 2024-09-20 11:37:17 +02:00
parent 5f644d0ccd
commit a394b9cefd
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
167 changed files with 2795 additions and 2122 deletions

View file

@ -5,60 +5,63 @@
packagePath,
fetchFromGitHub,
...
}: let
}:
let
src = fetchFromGitHub {
owner = "llm-workflow-engine";
repo = "llm-workflow-engine";
rev = "v0.18.10";
hash = "sha256-q9tCPQvGtufSL+E0h5gB0pA1CaKB9nUL1Hf5cmImZz8";
};
module = {
config,
lib,
dream2nix,
...
}: {
imports = [
dream2nix.modules.dream2nix.pip
];
name = "llm-workflow-engine";
version = "0.18.10";
paths = {
inherit projectRoot;
package = packagePath;
};
mkDerivation = {
src = src;
propagatedBuildInputs = [
config.pip.drvs.setuptools.public
module =
{
config,
lib,
dream2nix,
...
}:
{
imports = [
dream2nix.modules.dream2nix.pip
];
};
buildPythonPackage = {
format = lib.mkForce "pyproject";
pythonImportsCheck = [
"lwe"
];
catchConflicts = false;
};
name = "llm-workflow-engine";
version = "0.18.10";
pip = {
pypiSnapshotDate = "2024-04-25";
requirementsFiles = [
"${src}/requirements.txt"
];
requirementsList = [
"setuptools"
];
flattenDependencies = true;
paths = {
inherit projectRoot;
package = packagePath;
};
mkDerivation = {
src = src;
propagatedBuildInputs = [
config.pip.drvs.setuptools.public
];
};
buildPythonPackage = {
format = lib.mkForce "pyproject";
pythonImportsCheck = [
"lwe"
];
catchConflicts = false;
};
pip = {
pypiSnapshotDate = "2024-04-25";
requirementsFiles = [
"${src}/requirements.txt"
];
requirementsList = [
"setuptools"
];
flattenDependencies = true;
};
};
};
in
dream2nix.lib.evalModules {
specialArgs.dream2nix = dream2nix;
packageSets.nixpkgs = pkgs;
modules = [module];
}
dream2nix.lib.evalModules {
specialArgs.dream2nix = dream2nix;
packageSets.nixpkgs = pkgs;
modules = [ module ];
}