Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
971 B
Nix
Raw Permalink Normal View History

2024-08-17 14:27:53 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "fabric-ai";
2025-08-18 23:05:49 +00:00
version = "1.4.291";
2024-08-17 14:27:53 +02:00
src = fetchFromGitHub {
owner = "danielmiessler";
repo = "fabric";
2025-04-02 11:21:44 +02:00
tag = "v${version}";
2025-08-18 23:05:49 +00:00
hash = "sha256-wHvb/Q3AtObr1KJPayX0N95ALcZZdD8TU3VT/NgS3oY=";
2024-08-17 14:27:53 +02:00
};
2025-08-18 23:05:49 +00:00
vendorHash = "sha256-iTiDYKh2VZYXgg09zezHMlsA7PnEH3hWHlpLr/nOHbY=";
2025-04-02 11:21:44 +02:00
# Fabric introduced plugin tests that fail in the nix build sandbox.
doCheck = false;
2024-08-17 14:27:53 +02:00
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Fabric is an open-source framework for augmenting humans using AI. It provides a modular framework for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere";
homepage = "https://github.com/danielmiessler/fabric";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jaredmontoya ];
mainProgram = "fabric";
};
}