diff --git a/horizon.dhall b/horizon.dhall
index b741249f489da2ea6744428fd0110bdddca776c0..29cb3523402b525068f07ef061dee6ca3f41f3b6 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -130,6 +130,7 @@ let packages =
       , base64 = H.callHackage "base64" "0.4.2.4"
       , base-compat = H.callHackage "base-compat" "0.12.2"
       , base-compat-batteries = H.callHackage "base-compat-batteries" "0.12.2"
+      , beam-core = callGitBeam "beam-core"
       , bech32 = H.callHackage "bech32" "1.1.2"
       , bech32-th = H.callHackage "bech32-th" "1.1.1"
       , bifunctors = H.callHackage "bifunctors" "5.5.13"
diff --git a/initial-packages.nix b/initial-packages.nix
index 7276d858170ee98578798a08eb22b6ea87b2bb37..8019ab3ac074e06daa1cb5651c84b20f30867e84 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -155,6 +155,8 @@ self: with pkgs.haskell.lib; {
 
   basement = self.callPackage (./pkgs/basement.nix) { };
 
+  beam-core = self.callPackage (./pkgs/beam-core.nix) { };
+
   bech32 = self.callPackage (./pkgs/bech32.nix) { };
 
   bech32-th = self.callPackage (./pkgs/bech32-th.nix) { };
diff --git a/pkgs/beam-core.nix b/pkgs/beam-core.nix
new file mode 100644
index 0000000000000000000000000000000000000000..716a1f8193e0bf425acbabffc0c5e1e7efca4c39
--- /dev/null
+++ b/pkgs/beam-core.nix
@@ -0,0 +1,75 @@
+{ mkDerivation
+, aeson
+, base
+, bytestring
+, containers
+, dlist
+, fetchgit
+, free
+, ghc-prim
+, hashable
+, lib
+, microlens
+, mtl
+, network-uri
+, scientific
+, tagged
+, tasty
+, tasty-hunit
+, text
+, time
+, vector
+, vector-sized
+}:
+mkDerivation {
+  pname = "beam-core";
+  version = "0.10.0.0";
+  src = fetchgit {
+    url = "https://github.com/haskell-beam/beam";
+    sha256 = "05yvc8hw0b2f8dg8lz8w1a2y90pwi10iwqa0b2xjhrlacwi0fci9";
+    rev = "94461937c5ca8b89f1ff1a60bde5bffe207315b4";
+    fetchSubmodules = true;
+  };
+  postUnpack = "sourceRoot+=/beam-core/; echo source root reset to $sourceRoot";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    aeson
+    base
+    bytestring
+    containers
+    dlist
+    free
+    ghc-prim
+    hashable
+    microlens
+    mtl
+    network-uri
+    scientific
+    tagged
+    text
+    time
+    vector
+    vector-sized
+  ];
+  testHaskellDepends = [
+    base
+    bytestring
+    tasty
+    tasty-hunit
+    text
+    time
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://travis.athougies.net/projects/beam.html";
+  description = "Type-safe, feature-complete SQL query and manipulation interface for Haskell";
+  license = lib.licenses.mit;
+  broken = false;
+}