python310Packages.s3fs: disable on older Python releases
This commit is contained in:
parent
32a2f6fe6f
commit
ea658301e1
|
@ -1,19 +1,24 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, docutils
|
||||
{ lib
|
||||
, stdenv
|
||||
, aiobotocore
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchPypi
|
||||
, fsspec
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "s3fs";
|
||||
version = "2022.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-tAo8v6+Ay6uvDjMjMRF8ysaSkO/aw0cYT7OrYAP3BGU=";
|
||||
hash = "sha256-tAo8v6+Ay6uvDjMjMRF8ysaSkO/aw0cYT7OrYAP3BGU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -22,6 +27,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
aiobotocore
|
||||
aiohttp
|
||||
fsspec
|
||||
];
|
||||
|
||||
|
@ -30,7 +36,9 @@ buildPythonPackage rec {
|
|||
# pythonPackages.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "s3fs" ];
|
||||
pythonImportsCheck = [
|
||||
"s3fs"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
|
|
Loading…
Reference in a new issue