diff --git a/pkgs/tools/filesystems/s3fs/default.nix b/pkgs/tools/filesystems/s3fs/default.nix new file mode 100644 index 000000000000..4c509444b74c --- /dev/null +++ b/pkgs/tools/filesystems/s3fs/default.nix @@ -0,0 +1,16 @@ +{stdenv, fetchurl, autoconf, automake, pkgconfig, curl, openssl, libxml2, fuse}: + +stdenv.mkDerivation { + name = "sshfs-fuse-1.78"; + src = fetchurl { + url = https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.78.tar.gz; + sha256 = "1xcp0bqa4a2ynjn5phb1pj70wm322czhqp4qcb27d5jd545b1h1n"; + }; + preConfigure = "./autogen.sh"; + buildInputs = [ autoconf automake pkgconfig curl openssl libxml2 fuse ]; + + meta = { + description = "Mount an S3 bucket as filesystem through FUSE"; + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 843935ebc669..be44fa2d5adf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2466,6 +2466,8 @@ let rzip = callPackage ../tools/compression/rzip { }; s3backer = callPackage ../tools/filesystems/s3backer { }; + + s3fs = callPackage ../tools/filesystems/s3fs { }; s3cmd = callPackage ../tools/networking/s3cmd { };