diff --git a/manifest.dhall b/manifest.dhall
index 3cf492ae18a9b482bdbbd69c9dc2155446af2c6e..61b80d458370ba9a2d5e2387e0add42ca04dbb7b 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -223,6 +223,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "ghc-typelits-natnormalise" "0.7.7"
     , callHackage "ghcid" "0.8.8"
     , callHackage "hackage-security" "0.6.2.2"
+    , callHackage "haddock-library" "1.11.0"
     , callHackage "hashable" "1.4.1.0"
     , callHackage "hashing" "0.1.0.1"
     , callHackage "hashtables" "1.3"
diff --git a/overlay.nix b/overlay.nix
index 7322db74b612c0f7c3a187c517dfb8449f9b3f17..640cce6afc7992c025b58544337fd615a79f6781 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -241,6 +241,8 @@ final: prev: with pkgs.haskell.lib; {
 
     hackage-security = prev.callPackage (./pkgs/hackage-security.nix) { };
 
+    haddock-library = prev.callPackage (./pkgs/haddock-library.nix) { };
+
     hashable = prev.callPackage (./pkgs/hashable.nix) { };
 
     hashing = prev.callPackage (./pkgs/hashing.nix) { };
diff --git a/pkgs/haddock-library.nix b/pkgs/haddock-library.nix
new file mode 100644
index 0000000000000000000000000000000000000000..03bb077e1ab97108e9cc657b113700a1af0f36ff
--- /dev/null
+++ b/pkgs/haddock-library.nix
@@ -0,0 +1,24 @@
+{ mkDerivation, base, base-compat, containers, deepseq, directory
+, filepath, hspec, hspec-discover, lib, optparse-applicative
+, parsec, QuickCheck, text, tree-diff
+}:
+mkDerivation {
+  pname = "haddock-library";
+  version = "1.11.0";
+  sha256 = "7c075ec9a378b0a2d9d605e72135201e6c7ff316564f2c974113582f43bea20a";
+  revision = "1";
+  editedCabalFile = "0mqwr0vbpj9zw7f1p5kdd7hsr76gs1ijmh8h9hak47nphffi1fxv";
+  libraryHaskellDepends = [ base containers parsec text ];
+  testHaskellDepends = [
+    base base-compat containers deepseq directory filepath hspec
+    optparse-applicative parsec QuickCheck text tree-diff
+  ];
+  testToolDepends = [ hspec-discover ];
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  hyperlinkSource = false;
+  homepage = "http://www.haskell.org/haddock/";
+  description = "Library exposing some functionality of Haddock";
+  license = lib.licenses.bsd2;
+}
\ No newline at end of file