1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, curl, gnutls, libgcrypt, libuuid, fuse, boost }:
5 src = fetchFromGitHub {
7 repo = "azure-storage-fuse";
8 rev = "blobfuse-${version}-Linux";
9 sha256 = "sha256-yihIuS4AG489U7eBi/p7H6S7Cg54kkQeNVCexxQZ60A=";
11 cpplite = stdenv.mkDerivation rec {
15 sourceRoot = "source/cpplite";
16 patches = [ ./install-adls.patch ];
18 cmakeFlags = [ "-DBUILD_ADLS=ON" "-DUSE_OPENSSL=OFF" ];
20 buildInputs = [ curl libuuid gnutls ];
21 nativeBuildInputs = [ cmake pkg-config ];
23 in stdenv.mkDerivation rec {
27 NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
29 buildInputs = [ curl gnutls libgcrypt libuuid fuse boost cpplite ];
30 nativeBuildInputs = [ cmake pkg-config ];
33 description = "Mount an Azure Blob storage as filesystem through FUSE";
34 license = licenses.mit;
35 maintainers = with maintainers; [ jbgi ];
36 platforms = platforms.linux;