diff --git a/manifest.dhall b/manifest.dhall
index ea5761b219d8075eafe4f3b9b15e35499c26c2a0..d5b14dba9be189f90b22ede305af29a7b7ebf8a7 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 83adb97bd474955e0ecb84915c7b86f8b25943d6..b655fb758f27297db3e1828a3792aec6558d5701 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 0000000000000000000000000000000000000000..248a08a17798d5eb55cdabbd053860dc914f2aee
--- /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;
+}