about summary refs log tree commit diff
path: root/third_party/farmhash
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-08T17·39+0100
committerVincent Ambo <tazjin@google.com>2020-05-08T17·39+0100
commit28a36a2b70e31f9b8bf90085cf1b70fe038e9ff6 (patch)
treeaf60c3d5326b36d80b014ebfcf1465ba44a81ade /third_party/farmhash
parent12387550e347658dc353c7ad566a1d37a3c89746 (diff)
feat(third_party): Add Google's farmhash library r/706
Diffstat (limited to 'third_party/farmhash')
-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";
+  };
+}