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