diff --git a/manifest.dhall b/manifest.dhall
index bd6bac82590bb7d7085854622c73a3ef344c2a88..b6d0091966002183d41003d732357ac198c3ec17 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -120,6 +120,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "brick" "1.3"
     , callHackage "bsb-http-chunked" "0.0.0.4"
     , callHackage "byteable" "0.1.1"
+    , callHackage "byteorder" "1.0.4"
     , callHackage "bytes" "0.17.2"
     , callHackage "cabal-doctest" "1.0.9"
     , callHackage "cabal-install" "3.8.1.0"
diff --git a/overlay.nix b/overlay.nix
index 5d0574b22c480ba9838b5feb21cfcd104982fe16..ef1ef08edcf02919877790791f9f4fb7f3282a24 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -133,6 +133,8 @@ self: with pkgs.haskell.lib; {
 
   byteable = self.callPackage (./pkgs/byteable.nix) { };
 
+  byteorder = self.callPackage (./pkgs/byteorder.nix) { };
+
   bytes = self.callPackage (./pkgs/bytes.nix) { };
 
   cabal-doctest = self.callPackage (./pkgs/cabal-doctest.nix) { };
diff --git a/pkgs/byteorder.nix b/pkgs/byteorder.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ea246308fec76da5ec9f0efcb98717292a61d02b
--- /dev/null
+++ b/pkgs/byteorder.nix
@@ -0,0 +1,21 @@
+{ mkDerivation, base, lib }:
+mkDerivation {
+  pname = "byteorder";
+  version = "1.0.4";
+  sha256 = "bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://community.haskell.org/~aslatter/code/byteorder";
+  description = "Exposes the native endianness or byte ordering of the system";
+  license = lib.licenses.bsd3;
+  broken = false;
+}