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