1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 14:52:34 +03:00
nixpkgs/pkgs/development/python-modules/s3fs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, aiobotocore
, aiohttp
, buildPythonPackage
, docutils
, fetchPypi
, fsspec
, pythonOlder
}:
2018-04-03 13:52:46 +02:00
buildPythonPackage rec {
pname = "s3fs";
version = "2022.11.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2018-04-03 13:52:46 +02:00
src = fetchPypi {
inherit pname version;
hash = "sha256-EMWsKDpPW2f/rW0fJf9+4CYUJ1DFxdyGh0bNkE9hfDM=";
2018-04-03 13:52:46 +02:00
};
postPatch = ''
sed -i 's/fsspec==.*/fsspec/' requirements.txt
'';
buildInputs = [
docutils
];
propagatedBuildInputs = [
aiobotocore
aiohttp
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;
pythonImportsCheck = [
"s3fs"
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "A Pythonic file interface for S3";
homepage = "https://github.com/fsspec/s3fs";
changelog = "https://github.com/fsspec/s3fs/raw/${version}/docs/source/changelog.rst";
2018-04-03 13:52:46 +02:00
license = licenses.bsd3;
maintainers = with maintainers; [ teh ];
};
}