summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2021-06-12 17:30:58 -0500
committeradisbladis <adisbladis@gmail.com>2021-06-12 17:33:18 -0500
commit22ae7ededae09201595440fec9809d34261b5767 (patch)
treefd53dc1703802408842751d8e290e7b22a0b655f /pkgs/tools/filesystems
parent26a88ecce82665ab0431eac28629c0cf6858ad60 (diff)
downloadnixpkgs-22ae7ededae09201595440fec9809d34261b5767.tar
nixpkgs-22ae7ededae09201595440fec9809d34261b5767.tar.gz
nixpkgs-22ae7ededae09201595440fec9809d34261b5767.tar.bz2
nixpkgs-22ae7ededae09201595440fec9809d34261b5767.tar.lz
nixpkgs-22ae7ededae09201595440fec9809d34261b5767.tar.xz
nixpkgs-22ae7ededae09201595440fec9809d34261b5767.tar.zst
nixpkgs-22ae7ededae09201595440fec9809d34261b5767.zip
goofys: init at unstable-2021-03-26
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/goofys/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/goofys/default.nix b/pkgs/tools/filesystems/goofys/default.nix
new file mode 100644
index 00000000000..94ce7be08e5
--- /dev/null
+++ b/pkgs/tools/filesystems/goofys/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule {
+  pname = "goofys";
+  version = "unstable-2021-03-26";
+
+  src = fetchFromGitHub {
+    owner = "kahing";
+    repo = "goofys";
+    # Same as v0.24.0 but migrated to Go modules
+    rev = "0c993271269b539196330a18716a33fbeeebd624";
+    sha256 = "18is5sv2a9wmsm0qpakly988z1qyl2b2hf2105lpxrgl659sf14p";
+  };
+
+  vendorSha256 = "15yq0msh9icxd5n2zkkqrlwxifizhpa99d4aznv8clg32ybs61fj";
+
+  subPackages = [ "." ];
+
+  # Tests are using networking
+  postPatch = ''
+    rm internal/*_test.go
+  '';
+
+  meta = {
+    homepage = "https://github.com/kahing/goofys";
+    description = "A high-performance, POSIX-ish Amazon S3 file system written in Go.";
+    license = [ lib.licenses.mit ];
+    maintainers = [ lib.maintainers.adisbladis ];
+  };
+
+}