about summary refs log tree commit diff
path: root/third_party/geesefs/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-09-30T13·36+0300
committertazjin <tazjin@tvl.su>2023-09-30T21·47+0000
commit9d7e3e4f95288b04c1c5491c0988f6884865c3b4 (patch)
treebe16322ff9ad6efe5648de5ca675a755580fe01f /third_party/geesefs/default.nix
parentacfc49efc22b443896b42cba17b42ef234ff4f82 (diff)
feat(3p/geesefs): add derivation for GeeseFS r/6675
Change-Id: I93d0ccd35eb16005779a2784d1fabc3fd9ef1b83
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9492
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/geesefs/default.nix')
-rw-r--r--third_party/geesefs/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/geesefs/default.nix b/third_party/geesefs/default.nix
new file mode 100644
index 000000000000..8c964e58910c
--- /dev/null
+++ b/third_party/geesefs/default.nix
@@ -0,0 +1,25 @@
+# Finally, a good FUSE FS implementation over S3.
+# https://github.com/yandex-cloud/geesefs
+
+{ pkgs, ... }:
+
+pkgs.buildGoModule rec {
+  pname = "geesefs";
+  version = "0.38.3";
+
+  src = pkgs.fetchFromGitHub {
+    owner = "yandex-cloud";
+    repo = "geesefs";
+    rev = "v${version}";
+    sha256 = "0kf0368hnards619azz8xw7cp7fm806v0aszmgq24qs9ax45dv6m";
+  };
+
+  subPackages = [ "." ];
+  buildInputs = [ pkgs.fuse ];
+  vendorSha256 = "00w4jvcpgwh01ddhmlqcnyf4w9gh9bv1g12y9imbhba9cgmg20z5";
+
+  meta = with pkgs.lib; {
+    license = licenses.asl20;
+    maintainers = [ maintainers.tazjin ];
+  };
+}