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-09-26 11:04:55 +00:00
version = " 1 . 9 . 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-09-26 11:04:55 +00:00
hash = " s h a 2 5 6 - 8 t / g A z 0 8 j F R u F 0 q 3 b o 4 y 8 t i I q 4 i Y g A k X f 5 u d Y N I c c u 0 = " ;
2024-01-25 14:12:00 +00:00
fetchSubmodules = true ;
} ;
2024-09-26 11:04:55 +00:00
cargoHash = " s h a 2 5 6 - F z 7 L f A n 7 8 J V i p 0 Q s h o L 5 K M A E H M t G 8 b k L z z 4 v 9 5 / q t 3 E = " ;
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."))
#
2024-09-19 14:19:46 +00:00
" - - s k i p = s 3 _ c r t _ c l i e n t : : t e s t s : : c l i e n t _ n e w _ f a i l s _ w i t h _ g r e a t e r _ p a r t _ s i z e "
" - - s k i p = s 3 _ c r t _ c l i e n t : : t e s t s : : c l i e n t _ n e w _ f a i l s _ w i t h _ s m a l l e r _ p a r t _ s i z e "
" - - 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 n d p o i n t _ f a v o r s _ e n v _ v a r i a b l e "
" - - 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 n d p o i n t _ f a v o r s _ p a r a m e t e r _ o v e r _ e n v _ v a r i a b l e "
" - - 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 n d p o i n t _ w i t h _ i n v a l i d _ e n v _ v a r i a b l e "
2024-01-25 14:12:00 +00:00
" - - 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 "
2024-09-19 14:19:46 +00:00
" - - s k i p = t e s t _ l o o k u p _ t h r o t t l e d _ m o c k : : h e a d _ o b j e c t "
" - - s k i p = t e s t _ l o o k u p _ t h r o t t l e d _ m o c k : : l i s t _ o b j e c t "
" - - s k i p = t e s t _ l o o k u p _ u n h a n d l e d _ e r r o r _ m o c k "
2024-01-25 14:12:00 +00:00
" - - 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 " ;
2024-06-20 14:57:18 +00:00
description = " 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 " ;
2024-04-21 15:54:59 +00:00
license = licenses . asl20 ;
2024-01-25 14:12:00 +00:00
maintainers = with maintainers ; [ lblasc ] ;
platforms = platforms . linux ;
} ;
}