|
|
|
@ -1,29 +1,32 @@ |
|
|
|
|
{ lib |
|
|
|
|
, stdenv |
|
|
|
|
, aiohttp |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, pythonOlder |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, numpy |
|
|
|
|
, aiohttp |
|
|
|
|
, pytest-vcr |
|
|
|
|
, pytest-mock |
|
|
|
|
, paramiko |
|
|
|
|
, pytest-asyncio |
|
|
|
|
, pytest-mock |
|
|
|
|
, pytest-vcr |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, pythonOlder |
|
|
|
|
, requests |
|
|
|
|
, paramiko |
|
|
|
|
, smbprotocol |
|
|
|
|
, tqdm |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "fsspec"; |
|
|
|
|
version = "2022.3.0"; |
|
|
|
|
disabled = pythonOlder "3.6"; |
|
|
|
|
version = "2022.5.0"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "intake"; |
|
|
|
|
repo = "filesystem_spec"; |
|
|
|
|
rev = version; |
|
|
|
|
sha256 = "sha256-jTF8R0kaHMsCYg+7YFi21Homn63K+ulp9NDZC/jkIXM="; |
|
|
|
|
hash = "sha256-WOzw9UPF8LZuOhp5p/CJUUJcYpAfixV6GiI8tfnoklc="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
@ -31,13 +34,14 @@ buildPythonPackage rec { |
|
|
|
|
paramiko |
|
|
|
|
requests |
|
|
|
|
smbprotocol |
|
|
|
|
tqdm |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
checkInputs = [ |
|
|
|
|
numpy |
|
|
|
|
pytest-vcr |
|
|
|
|
pytest-mock |
|
|
|
|
pytest-asyncio |
|
|
|
|
pytest-mock |
|
|
|
|
pytest-vcr |
|
|
|
|
pytestCheckHook |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
@ -58,13 +62,15 @@ buildPythonPackage rec { |
|
|
|
|
"test_touch" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "fsspec" ]; |
|
|
|
|
pythonImportsCheck = [ |
|
|
|
|
"fsspec" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
homepage = "https://github.com/intake/filesystem_spec"; |
|
|
|
|
description = "A specification that Python filesystems should adhere to"; |
|
|
|
|
homepage = "https://github.com/intake/filesystem_spec"; |
|
|
|
|
changelog = "https://github.com/fsspec/filesystem_spec/raw/${version}/docs/source/changelog.rst"; |
|
|
|
|
license = licenses.bsd3; |
|
|
|
|
maintainers = [ maintainers.costrouc ]; |
|
|
|
|
maintainers = with maintainers; [ costrouc ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|