From df150ef29fe80ffa2ca1ece1b397fb3af5a5b5b8 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 08:39:00 +0000
Subject: [PATCH] asn1-types: init at 0.3.4

---
 manifest.dhall      |  1 +
 overlay.nix         |  2 ++
 pkgs/asn1-types.nix | 21 +++++++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 pkgs/asn1-types.nix

diff --git a/manifest.dhall b/manifest.dhall
index 9b217fa5..a469aec6 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -76,6 +76,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "ansi-terminal" "0.11.3"
     , callHackage "ansi-wl-pprint" "0.6.9"
     , callHackage "apecs" "0.9.4"
+    , callHackage "asn1-types" "0.3.4"
     , callHackage "assoc" "1.0.2"
     , callHackage "async" "2.2.4"
     , callHackage "autodocodec" "0.2.0.1"
diff --git a/overlay.nix b/overlay.nix
index af866b37..ac4d6ec6 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -35,6 +35,8 @@ final: prev: with pkgs.haskell.lib; {
 
   apecs = prev.callPackage (./pkgs/apecs.nix) { };
 
+  asn1-types = prev.callPackage (./pkgs/asn1-types.nix) { };
+
   assoc = prev.callPackage (./pkgs/assoc.nix) { };
 
   async = prev.callPackage (./pkgs/async.nix) { };
diff --git a/pkgs/asn1-types.nix b/pkgs/asn1-types.nix
new file mode 100644
index 00000000..83a52888
--- /dev/null
+++ b/pkgs/asn1-types.nix
@@ -0,0 +1,21 @@
+{ mkDerivation, base, bytestring, hourglass, lib, memory }:
+mkDerivation {
+  pname = "asn1-types";
+  version = "0.3.4";
+  sha256 = "78ee92a251379298ca820fa53edbf4b33c539b9fcd887c86f520c30e3b4e21a8";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base bytestring hourglass memory ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/vincenthz/hs-asn1";
+  description = "ASN.1 types";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab