2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, curl, gnutls, libgcrypt, libuuid, fuse }:
|
2018-04-27 23:58:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "blobfuse";
|
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
|
|
|
};
|
|
|
|
|
2019-10-30 01:29:30 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
|
2019-01-11 02:57:52 +00:00
|
|
|
|
2018-04-27 23:58:40 +01:00
|
|
|
buildInputs = [ curl gnutls libgcrypt libuuid fuse ];
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2018-04-27 23:58:40 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-27 23:58:40 +01:00
|
|
|
description = "Mount an Azure Blob storage as filesystem through FUSE";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jbgi ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2019-01-11 02:57:52 +00:00
|
|
|
}
|