nixpkgs/pkgs/by-name/fa/fabric-ai/package.nix
2025-11-07 00:23:54 +00:00

39 lines
971 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "fabric-ai";
version = "1.4.322";
src = fetchFromGitHub {
owner = "danielmiessler";
repo = "fabric";
tag = "v${version}";
hash = "sha256-vOEEBcr74BMgIw+npIN4+s/E0jMjmIWj5uqgHK4puoc=";
};
vendorHash = "sha256-bOA4vKwiRNRCyDWKCmzwLZlhsZwjSVe194Th6MNlwvM=";
# Fabric introduced plugin tests that fail in the nix build sandbox.
doCheck = false;
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";
};
}