1{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3, fsspec }:
2
3buildPythonPackage rec {
4 pname = "s3fs";
5 version = "0.4.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "2ca5de8dc18ad7ad350c0bd01aef0406aa5d0fff78a561f0f710f9d9858abdd0";
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}