summary refs log tree commit diff
path: root/pkgs/tools/filesystems/blobfuse/default.nix
blob: f847cde98a9e97483b31d2e3e8216c9050fa9249 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, cmake, pkgconfig, curl, gnutls, libgcrypt, libuuid, fuse }:

stdenv.mkDerivation rec {
  name = "blobfuse-${version}";
  version = "1.0.1-RC-Preview";

  src = fetchFromGitHub {
    owner  = "Azure";
    repo   = "azure-storage-fuse";
    rev    = "v${version}";
    sha256 = "143rxgfmprir4a7frrv8llkv61jxzq50w2v8wn32vx6gl6vci1zs";
  };

  buildInputs = [ curl gnutls libgcrypt libuuid fuse ];
  nativeBuildInputs = [ cmake pkgconfig ];

  meta = with stdenv.lib; {
    description = "Mount an Azure Blob storage as filesystem through FUSE";
    license = licenses.mit;
    maintainers = with maintainers; [ jbgi ];
    platforms = platforms.linux;
  };
}