at 23.05-pre 1.0 kB view raw
1{ lib 2, stdenv 3, aiobotocore 4, aiohttp 5, buildPythonPackage 6, docutils 7, fetchPypi 8, fsspec 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "s3fs"; 14 version = "2022.10.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-6N64DyC9CyBZFBuHT9udauuMzjUxLqXywCsiWnigBAY="; 22 }; 23 24 buildInputs = [ 25 docutils 26 ]; 27 28 propagatedBuildInputs = [ 29 aiobotocore 30 aiohttp 31 fsspec 32 ]; 33 34 # Depends on `moto` which has a long dependency chain with exact 35 # version requirements that can't be made to work with current 36 # pythonPackages. 37 doCheck = false; 38 39 pythonImportsCheck = [ 40 "s3fs" 41 ]; 42 43 meta = with lib; { 44 broken = stdenv.isDarwin; 45 description = "A Pythonic file interface for S3"; 46 homepage = "https://github.com/fsspec/s3fs"; 47 changelog = "https://github.com/fsspec/s3fs/raw/${version}/docs/source/changelog.rst"; 48 license = licenses.bsd3; 49 maintainers = with maintainers; [ teh ]; 50 }; 51}