From d776cab732847da57e67b472b50865ad0a04c06c Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 14:51:46 +0000
Subject: [PATCH] word8: init at 0.1.3

---
 manifest.dhall |  1 +
 overlay.nix    |  2 ++
 pkgs/word8.nix | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 pkgs/word8.nix

diff --git a/manifest.dhall b/manifest.dhall
index be78597c..df33b800 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -873,6 +873,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "wizards" "1.0.3"
     , callHackage "wl-pprint-annotated" "0.1.0.1"
     , callHackage "word-wrap" "0.5"
+    , callHackage "word8" "0.1.3"
     , callHackage "x509-store" "1.6.9"
     , callHackage "x509-system" "1.6.7"
     , callHackage "x509-validation" "1.6.12"
diff --git a/overlay.nix b/overlay.nix
index 5cc93c25..dbbadfcb 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -1373,6 +1373,8 @@ self: with pkgs.haskell.lib; {
 
   word-wrap = self.callPackage (./pkgs/word-wrap.nix) { };
 
+  word8 = self.callPackage (./pkgs/word8.nix) { };
+
   x509 = self.callPackage (./pkgs/x509.nix) { };
 
   x509-store = self.callPackage (./pkgs/x509-store.nix) { };
diff --git a/pkgs/word8.nix b/pkgs/word8.nix
new file mode 100644
index 00000000..5b2d9f85
--- /dev/null
+++ b/pkgs/word8.nix
@@ -0,0 +1,22 @@
+{ mkDerivation, base, bytestring, criterion, hspec, lib }:
+mkDerivation {
+  pname = "word8";
+  version = "0.1.3";
+  sha256 = "2630934c75728bfbf390c1f0206b225507b354f68d4047b06c018a36823b5d8a";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base ];
+  testHaskellDepends = [ base hspec ];
+  benchmarkHaskellDepends = [ base bytestring criterion ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Word8 library";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab