From 099d6c295d9fa896eda7a1448fa9bfe725466c1a Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Fri, 30 Dec 2022 22:00:20 +0000
Subject: [PATCH] streamly: init at 0.8.3

---
 horizon.dhall        |  1 +
 initial-packages.nix |  2 ++
 pkgs/streamly.nix    | 60 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)
 create mode 100644 pkgs/streamly.nix

diff --git a/horizon.dhall b/horizon.dhall
index fa8668cd..00255ad4 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -763,6 +763,7 @@ let packages =
       , stm-chans = H.callHackage "stm-chans" "3.0.0.6"
       , streaming-commons = H.callHackage "streaming-commons" "0.2.2.4"
       , streaming = H.callHackage "streaming" "0.2.3.1"
+      , streamly = H.callHackage "streamly" "0.8.3"
       , store-core = H.callHackage "store-core" "0.4.4.4"
       , store = H.callHackage "store" "0.7.16"
       , strict = H.callHackage "strict" "0.4.0.1"
diff --git a/initial-packages.nix b/initial-packages.nix
index 86326d15..5d69828c 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -1249,6 +1249,8 @@ self: with pkgs.haskell.lib; {
 
   streaming-commons = self.callPackage (./pkgs/streaming-commons.nix) { };
 
+  streamly = self.callPackage (./pkgs/streamly.nix) { };
+
   strict = self.callPackage (./pkgs/strict.nix) { };
 
   string-conv = self.callPackage (./pkgs/string-conv.nix) { };
diff --git a/pkgs/streamly.nix b/pkgs/streamly.nix
new file mode 100644
index 00000000..6bf5864f
--- /dev/null
+++ b/pkgs/streamly.nix
@@ -0,0 +1,60 @@
+{ mkDerivation
+, atomic-primops
+, base
+, containers
+, deepseq
+, directory
+, exceptions
+, filepath
+, fusion-plugin-types
+, ghc-prim
+, heaps
+, lib
+, lockfree-queue
+, monad-control
+, mtl
+, network
+, primitive
+, transformers
+, transformers-base
+, unicode-data
+}:
+mkDerivation {
+  pname = "streamly";
+  version = "0.8.3";
+  sha256 = "af8bc4fb86ba41f8970a9147e9ad290d17f44db123ea3db29bd04404fdcc5b76";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    atomic-primops
+    base
+    containers
+    deepseq
+    directory
+    exceptions
+    filepath
+    fusion-plugin-types
+    ghc-prim
+    heaps
+    lockfree-queue
+    monad-control
+    mtl
+    network
+    primitive
+    transformers
+    transformers-base
+    unicode-data
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://streamly.composewell.com";
+  description = "Dataflow programming and declarative concurrency";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab