1{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3, fsspec }:
2
3buildPythonPackage rec {
4 pname = "s3fs";
5 version = "0.4.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "504a41ecb9edf0bd7798847b61839954e50508c5235ec7ee48c539ce46b4fa18";
10 };
11
12 buildInputs = [ docutils ];
13 propagatedBuildInputs = [ boto3 fsspec ];
14
15 # Depends on `moto` which has a long dependency chain with exact
16 # version requirements that can't be made to work with current
17 # pythonPackages.
18 doCheck = false;
19
20 meta = with stdenv.lib; {
21 description = "S3FS builds on boto3 to provide a convenient Python filesystem interface for S3.";
22 homepage = https://github.com/dask/s3fs/;
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ teh ];
25 };
26}