2024-01-25 14:12:00 +00:00
{ lib
, fetchFromGitHub
, rustPlatform
, cmake
, fuse3
, pkg-config
} :
rustPlatform . buildRustPackage rec {
pname = " m o u n t p o i n t - s 3 " ;
2024-02-29 20:09:43 +00:00
version = " 1 . 4 . 1 " ;
2024-01-25 14:12:00 +00:00
src = fetchFromGitHub {
owner = " a w s l a b s " ;
repo = " m o u n t p o i n t - s 3 " ;
rev = " v ${ version } " ;
2024-02-29 20:09:43 +00:00
hash = " s h a 2 5 6 - V 9 d 3 r A b 1 r b s o 6 9 R U M g w Z d q f c h g c D U l F U 2 L F j C k 5 9 u e w = " ;
2024-01-25 14:12:00 +00:00
fetchSubmodules = true ;
} ;
2024-02-29 20:09:43 +00:00
cargoHash = " s h a 2 5 6 - 9 c d z 1 G 4 m K y g 4 T f s L + l a o B 6 + 6 r q E g k 8 A 3 V k T j e j E T A K o = " ;
2024-01-25 14:12:00 +00:00
# thread 'main' panicked at cargo-auditable/src/collect_audit_data.rs:77:9:
# cargo metadata failure: error: none of the selected packages contains these features: libfuse3
auditable = false ;
nativeBuildInputs = [ cmake pkg-config rustPlatform . bindgenHook ] ;
buildInputs = [ fuse3 ] ;
checkFlags = [
#thread 's3_crt_client::tests::test_expected_bucket_owner' panicked at mountpoint-s3-client/src/s3_crt_client.rs:1123:47:
#Create test client: ProviderFailure(Error(1173, "aws-c-io: AWS_IO_TLS_ERROR_DEFAULT_TRUST_STORE_NOT_FOUND, Default TLS trust store not found on this system. Trusted CA certificates must be installed, or \"override default trust store\" must be used while creating the TLS context."))
#
" - - s k i p = s 3 _ c r t _ c l i e n t : : t e s t s : : t e s t _ e x p e c t e d _ b u c k e t _ o w n e r "
" - - s k i p = s 3 _ c r t _ c l i e n t : : t e s t s : : t e s t _ u s e r _ a g e n t _ w i t h _ p r e f i x "
" - - s k i p = s 3 _ c r t _ c l i e n t : : t e s t s : : t e s t _ u s e r _ a g e n t _ w i t h o u t _ p r e f i x "
" - - s k i p = t e s t s : : s m o k e "
# fuse module not available on build machine ?
#
# fuse: device not found, try 'modprobe fuse' first
# thread 'unmount_no_send' panicked at vendor/fuser/tests/integration_tests.rs:16:79:
# called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
" - - s k i p = u n m o u n t _ n o _ s e n d "
# sandbox issue ?
#
# thread 'mnt::test::mount_unmount' panicked at vendor/fuser/src/mnt/mod.rs:165:57:
# called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
" - - s k i p = m n t : : t e s t : : m o u n t _ u n m o u n t "
" - - s k i p = t e s t _ g e t _ i d e n t i t y _ d o c u m e n t "
] ;
meta = with lib ; {
homepage = " h t t p s : / / g i t h u b . c o m / a w s l a b s / m o u n t p o i n t - s 3 " ;
description = " A s i m p l e , h i g h - t h r o u g h p u t f i l e c l i e n t f o r m o u n t i n g a n A m a z o n S 3 b u c k e t a s a l o c a l f i l e s y s t e m . " ;
license = licenses . amazonsl ;
maintainers = with maintainers ; [ lblasc ] ;
platforms = platforms . linux ;
} ;
}