Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
fuse3,
|
|
testers,
|
|
blobfuse,
|
|
nix-update-script,
|
|
}:
|
|
|
|
let
|
|
version = "2.5.0";
|
|
src = fetchFromGitHub {
|
|
owner = "Azure";
|
|
repo = "azure-storage-fuse";
|
|
rev = "blobfuse2-${version}";
|
|
sha256 = "sha256-BRLORwEY8PeD9hFkpm3Gup+eXzdFkW1Rkr73ncyKrso=";
|
|
};
|
|
in
|
|
buildGoModule {
|
|
pname = "blobfuse";
|
|
inherit version src;
|
|
|
|
vendorHash = "sha256-L1ix9pRal5Ssfwf+kl9SFC9bbveuKeiuzrBwapvbFZY=";
|
|
|
|
buildInputs = [ fuse3 ];
|
|
|
|
# Many tests depend on network or needs to be configured to pass. See the link below for a starting point
|
|
# https://github.com/NixOS/nixpkgs/pull/201196/files#diff-e669dbe391f8856f4564f26023fe147a7b720aeefe6869ab7a218f02a8247302R20
|
|
doCheck = false;
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
tests.version = testers.testVersion { package = blobfuse; };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Mount an Azure Blob storage as filesystem through FUSE";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jbgi ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "azure-storage-fuse";
|
|
};
|
|
}
|