From 8be0366669759291aabef7c7b62d5f4180c0bb71 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Wed, 30 Nov 2022 11:58:00 +0000
Subject: [PATCH] feedback: init at 0.1.0.1

---
 horizon.dhall        |  1 +
 initial-packages.nix |  2 ++
 pkgs/feedback.nix    | 67 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+)
 create mode 100644 pkgs/feedback.nix

diff --git a/horizon.dhall b/horizon.dhall
index 3bfbc413..5de4385d 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -264,6 +264,7 @@ in  { compiler = "ghc-9.4.2"
       , H.callHackage "fail" "4.9.0.0"
       , H.callHackage "fast-logger" "3.1.1"
       , H.callHackage "fcf-containers" "0.7.1"
+      , H.callHackage "feedback" "0.1.0.1"
       , H.callHackage "file-embed-lzma" "0.0.1"
       , H.callHackage "file-embed" "0.0.15.0"
       , H.callHackage "filemanip" "0.3.6.3"
diff --git a/initial-packages.nix b/initial-packages.nix
index 61b0323e..c9afd8da 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -393,6 +393,8 @@ self: with pkgs.haskell.lib; {
 
   fcf-containers = self.callPackage (./pkgs/fcf-containers.nix) { };
 
+  feedback = self.callPackage (./pkgs/feedback.nix) { };
+
   file-embed = self.callPackage (./pkgs/file-embed.nix) { };
 
   file-embed-lzma = self.callPackage (./pkgs/file-embed-lzma.nix) { };
diff --git a/pkgs/feedback.nix b/pkgs/feedback.nix
new file mode 100644
index 00000000..ae6b0cef
--- /dev/null
+++ b/pkgs/feedback.nix
@@ -0,0 +1,67 @@
+{ mkDerivation
+, autodocodec
+, autodocodec-yaml
+, base
+, bytestring
+, conduit
+, containers
+, envparse
+, fsnotify
+, lib
+, optparse-applicative
+, path
+, path-io
+, pretty-show
+, safe-coloured-text
+, safe-coloured-text-layout
+, safe-coloured-text-terminfo
+, text
+, time
+, typed-process
+, unix
+, unliftio
+, yaml
+}:
+mkDerivation {
+  pname = "feedback";
+  version = "0.1.0.1";
+  sha256 = "5ec853dfd1f314aaa08f247058dc54783ceb3a8717b0ef5e3d787cee802523a1";
+  isLibrary = true;
+  isExecutable = true;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    autodocodec
+    autodocodec-yaml
+    base
+    bytestring
+    conduit
+    containers
+    envparse
+    fsnotify
+    optparse-applicative
+    path
+    path-io
+    pretty-show
+    safe-coloured-text
+    safe-coloured-text-layout
+    safe-coloured-text-terminfo
+    text
+    time
+    typed-process
+    unix
+    unliftio
+    yaml
+  ];
+  executableHaskellDepends = [ base ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/NorfairKing/feedback#readme";
+  description = "Declarative feedback loop manager";
+  license = lib.licenses.gpl3Only;
+  broken = false;
+}
-- 
GitLab