1{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3 }:
2
3buildPythonPackage rec {
4 pname = "s3fs";
5 version = "0.2.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1l3vdy3h6l03kjjzq1vq7h252749f8dg7kkz65s890y4xxvjxlyw";
10 };
11
12 buildInputs = [ docutils ];
13 propagatedBuildInputs = [ boto3 ];
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}