From 20b434092df47810e5dc314a32016d11c4ad3a4a Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:18:15 +0000
Subject: [PATCH] bitvec: init at 1.1.3.0

---
 manifest.dhall  |  1 +
 overlay.nix     |  2 ++
 pkgs/bitvec.nix | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+)
 create mode 100644 pkgs/bitvec.nix

diff --git a/manifest.dhall b/manifest.dhall
index ea5761b2..d5b14dba 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -93,6 +93,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "base-compat-batteries" "0.12.2"
     , callHackage "bifunctors" "5.5.13"
     , callHackage "bimap" "0.5.0"
+    , callHackage "bitvec" "1.1.3.0"
     , callHackage "binary-orphans" "1.0.3"
     , callHackage "blaze-html" "0.9.1.2"
     , callHackage "blaze-markup" "0.8.2.8"
diff --git a/overlay.nix b/overlay.nix
index 83adb97b..b655fb75 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -71,6 +71,8 @@ final: prev: with pkgs.haskell.lib; {
 
   binary-orphans = prev.callPackage (./pkgs/binary-orphans.nix) { };
 
+  bitvec = prev.callPackage (./pkgs/bitvec.nix) { };
+
   blaze-html = prev.callPackage (./pkgs/blaze-html.nix) { };
 
   blaze-markup = prev.callPackage (./pkgs/blaze-markup.nix) { };
diff --git a/pkgs/bitvec.nix b/pkgs/bitvec.nix
new file mode 100644
index 00000000..248a08a1
--- /dev/null
+++ b/pkgs/bitvec.nix
@@ -0,0 +1,61 @@
+{ mkDerivation
+, base
+, bytestring
+, containers
+, deepseq
+, ghc-bignum
+, lib
+, primitive
+, quickcheck-classes
+, quickcheck-classes-base
+, random
+, tasty
+, tasty-bench
+, tasty-quickcheck
+, vector
+}:
+mkDerivation {
+  pname = "bitvec";
+  version = "1.1.3.0";
+  sha256 = "1c4c3af50a1fcf46e46e2fa9e0493fffaf62de3607ae7553d18015f8a1a60551";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    bytestring
+    deepseq
+    ghc-bignum
+    primitive
+    vector
+  ];
+  testHaskellDepends = [
+    base
+    ghc-bignum
+    primitive
+    quickcheck-classes
+    quickcheck-classes-base
+    tasty
+    tasty-quickcheck
+    vector
+  ];
+  benchmarkHaskellDepends = [
+    base
+    containers
+    ghc-bignum
+    random
+    tasty-bench
+    vector
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/Bodigrim/bitvec";
+  description = "Space-efficient bit vectors";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab