From e286e95e7391a0aea90e7f610d4b657f6f54026c Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:25:33 +0000
Subject: [PATCH] http-client-tls: init at 0.3.6.1

---
 manifest.dhall           |  1 +
 overlay.nix              |  2 ++
 pkgs/http-client-tls.nix | 66 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+)
 create mode 100644 pkgs/http-client-tls.nix

diff --git a/manifest.dhall b/manifest.dhall
index 278e93f7..eec2832e 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -287,6 +287,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "hspec-core" "2.10.0.1"
     , callHackage "hspec-discover" "2.10.0.1"
     , callHackage "hspec-meta" "2.9.3"
+    , callHackage "http-client-tls" "0.3.6.1"
     , callHackage "http-client" "0.7.13.1"
     , callHackage "http-date" "0.0.11"
     , callHackage "http-media" "0.8.0.0"
diff --git a/overlay.nix b/overlay.nix
index 37d511d1..17e3f111 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -347,6 +347,8 @@ final: prev: with pkgs.haskell.lib; {
 
   http-client = prev.callPackage (./pkgs/http-client.nix) { };
 
+  http-client-tls = prev.callPackage (./pkgs/http-client-tls.nix) { };
+
   http-date = prev.callPackage (./pkgs/http-date.nix) { };
 
   http-media = prev.callPackage (./pkgs/http-media.nix) { };
diff --git a/pkgs/http-client-tls.nix b/pkgs/http-client-tls.nix
new file mode 100644
index 00000000..7ea7f681
--- /dev/null
+++ b/pkgs/http-client-tls.nix
@@ -0,0 +1,66 @@
+{ mkDerivation
+, base
+, bytestring
+, case-insensitive
+, connection
+, containers
+, cryptonite
+, data-default-class
+, exceptions
+, gauge
+, hspec
+, http-client
+, http-types
+, lib
+, memory
+, network
+, network-uri
+, text
+, tls
+, transformers
+}:
+mkDerivation {
+  pname = "http-client-tls";
+  version = "0.3.6.1";
+  sha256 = "b19fff86a41b6035cbd97271a5d6965e43dcc4bedbe4c03dd586fed65fbac80d";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    bytestring
+    case-insensitive
+    connection
+    containers
+    cryptonite
+    data-default-class
+    exceptions
+    http-client
+    http-types
+    memory
+    network
+    network-uri
+    text
+    tls
+    transformers
+  ];
+  testHaskellDepends = [
+    base
+    connection
+    hspec
+    http-client
+    http-types
+  ];
+  benchmarkHaskellDepends = [ base gauge http-client ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/snoyberg/http-client";
+  description = "http-client backend using the connection package and tls library";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab