about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/farmhash/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/farmhash/default.nix b/third_party/farmhash/default.nix
new file mode 100644
index 000000000000..d7431dbd0108
--- /dev/null
+++ b/third_party/farmhash/default.nix
@@ -0,0 +1,13 @@
+# Google's farmhash family of hash functions
+{ pkgs, ... }:
+
+pkgs.stdenv.mkDerivation {
+  name = "farmhash";
+
+  src = pkgs.fetchFromGitHub {
+    owner = "google";
+    repo = "farmhash";
+    rev = "0d859a811870d10f53a594927d0d0b97573ad06d";
+    sha256 = "1w2583m5289hby0r91gds5yia6l8qpmzkl5b9bv58g5gacfj2h17";
+  };
+}