From 9627d3c1048303750713125798010459833142b0 Mon Sep 17 00:00:00 2001 From: DJE98 Date: Sat, 26 Oct 2024 14:18:24 +0200 Subject: [PATCH 1/2] fabric: init at 1.4.72 --- pkgs/tools/llm/fabric-ai/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/tools/llm/fabric-ai/default.nix diff --git a/pkgs/tools/llm/fabric-ai/default.nix b/pkgs/tools/llm/fabric-ai/default.nix new file mode 100644 index 0000000000000..838f681fffbb8 --- /dev/null +++ b/pkgs/tools/llm/fabric-ai/default.nix @@ -0,0 +1,24 @@ +{ pkgs ? import {} }: + +pkgs.buildGoModule { + pname = "fabric-ai"; + version = "1.4.72"; + + src = pkgs.fetchFromGitHub { + owner = "danielmiessler"; + repo = "fabric"; + rev = "v1.4.72"; + sha256 = "sha256-fPg7D7Ar543SjQ/f/HpyBbZx+sVcSbcHezUFY7q/iVs="; + }; + + vendorHash ="sha256-/nQj0T52xT3MGyM7hsPvvncXlZWjbjA2NBCisidgoWY="; + + meta = with pkgs.lib; { + description = "An open-source framework for augmenting humans using AI"; + homepage = "https://github.com/danielmiessler/fabric"; + mainProgram = "fabric"; + license = licenses.mit; + maintainers = [ "DJE98" ]; + }; +} + From b24cccda9a213e2c25220148f0eda4d4e87ef930 Mon Sep 17 00:00:00 2001 From: DJE98 Date: Sat, 26 Oct 2024 14:43:35 +0200 Subject: [PATCH 2/2] Format nix file --- pkgs/tools/llm/fabric-ai/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/llm/fabric-ai/default.nix b/pkgs/tools/llm/fabric-ai/default.nix index 838f681fffbb8..e32e76b1e794e 100644 --- a/pkgs/tools/llm/fabric-ai/default.nix +++ b/pkgs/tools/llm/fabric-ai/default.nix @@ -1,4 +1,6 @@ -{ pkgs ? import {} }: +{ + pkgs ? import { }, +}: pkgs.buildGoModule { pname = "fabric-ai"; @@ -11,7 +13,7 @@ pkgs.buildGoModule { sha256 = "sha256-fPg7D7Ar543SjQ/f/HpyBbZx+sVcSbcHezUFY7q/iVs="; }; - vendorHash ="sha256-/nQj0T52xT3MGyM7hsPvvncXlZWjbjA2NBCisidgoWY="; + vendorHash = "sha256-/nQj0T52xT3MGyM7hsPvvncXlZWjbjA2NBCisidgoWY="; meta = with pkgs.lib; { description = "An open-source framework for augmenting humans using AI"; @@ -21,4 +23,3 @@ pkgs.buildGoModule { maintainers = [ "DJE98" ]; }; } -