From 075317e38642d5ac12c58f5c577c33725d1540ed Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 18:32:26 +0000
Subject: [PATCH] bytestring-handle: init at 0.1.0.6

---
 manifest.dhall             |  1 +
 overlay.nix                |  2 ++
 pkgs/bytestring-handle.nix | 41 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 pkgs/bytestring-handle.nix

diff --git a/manifest.dhall b/manifest.dhall
index 5d98cbc2..7d168e89 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -126,6 +126,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "byteable" "0.1.1"
     , callHackage "byteorder" "1.0.4"
     , callHackage "bytestring-builder" "0.10.8.2.0"
+    , callHackage "bytestring-handle" "0.1.0.6"
     , callHackage "bytes" "0.17.2"
     , callHackage "c2hs" "0.28.8"
     , callHackage "cabal-doctest" "1.0.9"
diff --git a/overlay.nix b/overlay.nix
index 8934cff4..b02aa08e 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -147,6 +147,8 @@ self: with pkgs.haskell.lib; {
 
   bytestring-builder = self.callPackage (./pkgs/bytestring-builder.nix) { };
 
+  bytestring-handle = self.callPackage (./pkgs/bytestring-handle.nix) { };
+
   c2hs = self.callPackage (./pkgs/c2hs.nix) { };
 
   cabal-doctest = self.callPackage (./pkgs/cabal-doctest.nix) { };
diff --git a/pkgs/bytestring-handle.nix b/pkgs/bytestring-handle.nix
new file mode 100644
index 00000000..85dec8a5
--- /dev/null
+++ b/pkgs/bytestring-handle.nix
@@ -0,0 +1,41 @@
+{ mkDerivation
+, base
+, bytestring
+, HUnit
+, lib
+, QuickCheck
+, test-framework
+, test-framework-hunit
+, test-framework-quickcheck2
+}:
+mkDerivation {
+  pname = "bytestring-handle";
+  version = "0.1.0.6";
+  sha256 = "fe681cdf7e2238389b6d2090e264b10d0e5085658c89e7ffc870c7a0a43ac1a1";
+  revision = "2";
+  editedCabalFile = "1x1sy3dz2ph9v6jk22wmcv5gk2bka5fv4s68i8q0j9m9pk085w37";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base bytestring ];
+  testHaskellDepends = [
+    base
+    bytestring
+    HUnit
+    QuickCheck
+    test-framework
+    test-framework-hunit
+    test-framework-quickcheck2
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://hub.darcs.net/ganesh/bytestring-handle";
+  description = "ByteString-backed Handles";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab