2021-06-07 09:05:07 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
, aiobotocore
|
|
|
|
, fsspec
|
|
|
|
}:
|
2018-04-03 13:52:46 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "s3fs";
|
2022-01-13 16:58:58 -08:00
|
|
|
version = "2022.1.0";
|
2018-04-03 13:52:46 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 16:58:58 -08:00
|
|
|
sha256 = "6bafc1f6b4e935ea59512c0f38d5cb9c299dbbfe738e40c3d1de8f67b4ee1fd4";
|
2018-04-03 13:52:46 +02:00
|
|
|
};
|
|
|
|
|
2021-06-07 09:05:07 +02:00
|
|
|
buildInputs = [
|
|
|
|
docutils
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiobotocore
|
|
|
|
fsspec
|
|
|
|
];
|
2018-04-03 13:52:46 +02:00
|
|
|
|
|
|
|
# Depends on `moto` which has a long dependency chain with exact
|
|
|
|
# version requirements that can't be made to work with current
|
|
|
|
# pythonPackages.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-06-07 09:05:07 +02:00
|
|
|
pythonImportsCheck = [ "s3fs" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/dask/s3fs/";
|
2021-08-09 20:33:27 -03:00
|
|
|
description = "A Pythonic file interface for S3";
|
2018-04-03 13:52:46 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ teh ];
|
|
|
|
};
|
|
|
|
}
|