2018-04-27 23:58:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, curl, gnutls, libgcrypt, libuuid, fuse }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "blobfuse-${version}";
|
2018-05-07 08:31:02 +01:00
|
|
|
version = "1.0.2";
|
2018-04-27 23:58:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Azure";
|
|
|
|
repo = "azure-storage-fuse";
|
|
|
|
rev = "v${version}";
|
2018-05-07 08:31:02 +01:00
|
|
|
sha256 = "1qh04z1fsj1l6l12sz9yl2sy9hwlrnzac54hwrr7wvsgv90n9gbp";
|
2018-04-27 23:58:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2018-05-07 08:31:02 +01:00
|
|
|
}
|