From 764b79215415cd65add15f9dbb8080a4544f1634 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 08:58:46 +0000
Subject: [PATCH] x509-store: init at 1.6.9

---
 manifest.dhall      |  1 +
 overlay.nix         |  2 ++
 pkgs/x509-store.nix | 49 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)
 create mode 100644 pkgs/x509-store.nix

diff --git a/manifest.dhall b/manifest.dhall
index 08bf8cf0..a00354a9 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -554,6 +554,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "warp-tls" "3.3.3"
     , callHackage "witherable" "0.4.2"
     , callHackage "with-utf8" "1.0.2.3"
+    , callHackage "x509-store" "1.6.9"
     , callHackage "x509" "1.7.7"
     , callHackage "xml-conduit" "1.9.1.1"
     ]
diff --git a/overlay.nix b/overlay.nix
index 2010b60e..e1499c74 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -719,6 +719,8 @@ final: prev: with pkgs.haskell.lib; {
 
   x509 = prev.callPackage (./pkgs/x509.nix) { };
 
+  x509-store = prev.callPackage (./pkgs/x509-store.nix) { };
+
   xml-conduit = prev.callPackage (./pkgs/xml-conduit.nix) { };
 
 }
diff --git a/pkgs/x509-store.nix b/pkgs/x509-store.nix
new file mode 100644
index 00000000..6fa3e84e
--- /dev/null
+++ b/pkgs/x509-store.nix
@@ -0,0 +1,49 @@
+{ mkDerivation
+, asn1-encoding
+, asn1-types
+, base
+, bytestring
+, containers
+, cryptonite
+, directory
+, filepath
+, lib
+, mtl
+, pem
+, tasty
+, tasty-hunit
+, x509
+}:
+mkDerivation {
+  pname = "x509-store";
+  version = "1.6.9";
+  sha256 = "c59213520cf31a0a18611a60b8a4d2d7aa6cb206c0545d857b98dcb90fc5c8da";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    asn1-encoding
+    asn1-types
+    base
+    bytestring
+    containers
+    cryptonite
+    directory
+    filepath
+    mtl
+    pem
+    x509
+  ];
+  testHaskellDepends = [ base bytestring tasty tasty-hunit x509 ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/vincenthz/hs-certificate";
+  description = "X.509 collection accessing and storing methods";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab