diff --git a/manifest.dhall b/manifest.dhall
index b4981981ef215070b3ec77c2da1f1311609f4fd0..82deff7f034559ae6befc45bf3a483b260efafd4 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -167,6 +167,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "connection" "0.3.1"
     , callHackage "constraints" "0.13.4"
     , callHackage "contravariant" "1.5.5"
+    , callHackage "cookie" "0.4.5"
     , callHackage "cpphs" "1.20.9.1"
     , callHackage "criterion-measurement" "0.2.0.0"
     , callHackage "criterion" "1.5.13.0"
diff --git a/overlay.nix b/overlay.nix
index 987225a152bc8e2d2879305637e6090544ca8d84..6efca026468b6338bb0359ffe443a36a7d838a69 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -211,6 +211,8 @@ self: with pkgs.haskell.lib; {
 
   contravariant = self.callPackage (./pkgs/contravariant.nix) { };
 
+  cookie = self.callPackage (./pkgs/cookie.nix) { };
+
   cpphs = self.callPackage (./pkgs/cpphs.nix) { };
 
   criterion = self.callPackage (./pkgs/criterion.nix) { };
diff --git a/pkgs/cookie.nix b/pkgs/cookie.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fe14dba828c2ae88c6fa959c0b9bfc1e0b0c4cd2
--- /dev/null
+++ b/pkgs/cookie.nix
@@ -0,0 +1,52 @@
+{ mkDerivation
+, base
+, bytestring
+, data-default-class
+, deepseq
+, HUnit
+, lib
+, QuickCheck
+, tasty
+, tasty-hunit
+, tasty-quickcheck
+, text
+, time
+}:
+mkDerivation {
+  pname = "cookie";
+  version = "0.4.5";
+  sha256 = "707f94d1b31018b91d6a1e9e19ef5413e20d02cab00ad93a5fd7d7b3b46a3583";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    bytestring
+    data-default-class
+    deepseq
+    text
+    time
+  ];
+  testHaskellDepends = [
+    base
+    bytestring
+    HUnit
+    QuickCheck
+    tasty
+    tasty-hunit
+    tasty-quickcheck
+    text
+    time
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/snoyberg/cookie";
+  description = "HTTP cookie parsing and rendering";
+  license = lib.licenses.mit;
+  broken = false;
+}