From 1f4487b2fb2a69877438437f0f457597f85a9c8d Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Wed, 11 Jan 2023 10:51:19 +0000
Subject: [PATCH] io-streams: init at 1.5.2.2

---
 horizon.dhall        |  1 +
 initial-packages.nix |  2 ++
 pkgs/io-streams.nix  | 79 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+)
 create mode 100644 pkgs/io-streams.nix

diff --git a/horizon.dhall b/horizon.dhall
index fb7456e9..c05b2ed6 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -474,6 +474,7 @@ let packages =
       , integer-logarithms = H.callHackage "integer-logarithms" "1.0.3.1"
       , interpolate = H.callHackage "interpolate" "0.2.1"
       , invariant = H.callHackage "invariant" "0.6"
+      , io-streams = H.callHackage "io-streams" "1.5.2.2"
       , ipynb = H.callHackage "ipynb" "0.2"
       , iproute = H.callHackage "iproute" "1.7.12"
       , iso8601-time = H.callHackage "iso8601-time" "0.1.5"
diff --git a/initial-packages.nix b/initial-packages.nix
index d64527ac..119e4c29 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -729,6 +729,8 @@ self: with pkgs.haskell.lib; {
 
   invariant = self.callPackage (./pkgs/invariant.nix) { };
 
+  io-streams = self.callPackage (./pkgs/io-streams.nix) { };
+
   iproute = self.callPackage (./pkgs/iproute.nix) { };
 
   ipynb = self.callPackage (./pkgs/ipynb.nix) { };
diff --git a/pkgs/io-streams.nix b/pkgs/io-streams.nix
new file mode 100644
index 00000000..cc49e5fa
--- /dev/null
+++ b/pkgs/io-streams.nix
@@ -0,0 +1,79 @@
+{ mkDerivation
+, HUnit
+, QuickCheck
+, attoparsec
+, base
+, bytestring
+, deepseq
+, directory
+, filepath
+, lib
+, mtl
+, network
+, primitive
+, process
+, test-framework
+, test-framework-hunit
+, test-framework-quickcheck2
+, text
+, time
+, transformers
+, vector
+, zlib
+, zlib-bindings
+}:
+mkDerivation {
+  pname = "io-streams";
+  version = "1.5.2.2";
+  sha256 = "d365d5051696c15414ebe23749fc67475a532234b7c7d77060323d149a8fc4fe";
+  configureFlags = [ "-fnointeractivetests" ];
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    attoparsec
+    base
+    bytestring
+    network
+    primitive
+    process
+    text
+    time
+    transformers
+    vector
+    zlib-bindings
+  ];
+  testHaskellDepends = [
+    attoparsec
+    base
+    bytestring
+    deepseq
+    directory
+    filepath
+    HUnit
+    mtl
+    network
+    primitive
+    process
+    QuickCheck
+    test-framework
+    test-framework-hunit
+    test-framework-quickcheck2
+    text
+    time
+    transformers
+    vector
+    zlib
+    zlib-bindings
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Simple, composable, and easy-to-use stream I/O";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab