1 { lib, buildGoModule, fetchFromGitHub, fuse3, testers, blobfuse }:
5 src = fetchFromGitHub {
7 repo = "azure-storage-fuse";
8 rev = "blobfuse2-${version}";
9 sha256 = "sha256-KzpD+6g1WwviydYE0v5pSH35zC41MrPlk5MitwAIgnE=";
15 vendorHash = "sha256-+Z+mkTs/8qCtYcWZIMzsW9MQsC08KDJUHNbxyc6Ro5Y=";
17 buildInputs = [ fuse3 ];
19 # Many tests depend on network or needs to be configured to pass. See the link below for a starting point
20 # https://github.com/NixOS/nixpkgs/pull/201196/files#diff-e669dbe391f8856f4564f26023fe147a7b720aeefe6869ab7a218f02a8247302R20
23 passthru.tests.version = testers.testVersion { package = blobfuse; };
26 description = "Mount an Azure Blob storage as filesystem through FUSE";
27 license = licenses.mit;
28 maintainers = with maintainers; [ jbgi ];
29 platforms = platforms.linux;
30 mainProgram = "azure-storage-fuse";