about summary refs log tree commit diff
path: root/third_party/buzz/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/buzz/default.nix')
-rw-r--r--third_party/buzz/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/buzz/default.nix b/third_party/buzz/default.nix
new file mode 100644
index 000000000000..8b112d9e7913
--- /dev/null
+++ b/third_party/buzz/default.nix
@@ -0,0 +1,30 @@
+{ depot, pkgs, ... }:
+
+depot.third_party.naersk.buildPackage {
+  src = pkgs.fetchFromGitHub {
+    owner = "jonhoo";
+    repo = "buzz";
+    rev = "02479643ed1b0325050245dbb3b70411b8cffb7a";
+    sha256 = "1spklfv02qlinlail5rmhh1c4926gyrkr2ydd9g6z919rxkl0ywk";
+  };
+
+  buildInputs = with pkgs; [
+    pkgconfig
+    dbus
+    glib
+    openssl
+    cairo
+    pango
+    atk
+    gdk-pixbuf
+    gtk3
+    dbus-glib
+    libappindicator-gtk3
+    llvmPackages.llvm
+    llvmPackages.bintools
+    llvmPackages.clang
+    llvmPackages.libclang
+  ];
+
+  LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib/libclang.so";
+}