1{ lib
2, buildPythonPackage
3, fetchPypi
4, docutils
5, aiobotocore
6, fsspec
7}:
8
9buildPythonPackage rec {
10 pname = "s3fs";
11 version = "2021.10.1";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-STriUFPlJiVSokep8cOiyPvNIPWQf85jp0kSa6WP4F4=";
16 };
17
18 buildInputs = [
19 docutils
20 ];
21
22 propagatedBuildInputs = [
23 aiobotocore
24 fsspec
25 ];
26
27 # Depends on `moto` which has a long dependency chain with exact
28 # version requirements that can't be made to work with current
29 # pythonPackages.
30 doCheck = false;
31
32 pythonImportsCheck = [ "s3fs" ];
33
34 meta = with lib; {
35 homepage = "https://github.com/dask/s3fs/";
36 description = "A Pythonic file interface for S3";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ teh ];
39 };
40}