python3Packages.fsspec: 2021.04.0 -> 2021.05.0
This commit is contained in:
parent
fe84261826
commit
0b963e0fed
@ -1,33 +1,44 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, stdenv
|
||||
, aiohttp
|
||||
, pytest-vcr
|
||||
, requests
|
||||
, paramiko
|
||||
, smbprotocol
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fsspec";
|
||||
version = "2021.04.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
version = "2021.05.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intake";
|
||||
repo = "filesystem_spec";
|
||||
rev = version;
|
||||
sha256 = "sha256-9072kb1VEQ0xg9hB8yEzJMD2Ttd3UGjBmTuhE+Uya1k=";
|
||||
sha256 = "sha256-MQjUBLmx3Lb3nZNU/AgBKUQ/qNOd+XH+2YI51wV8AO0=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook numpy pytest-vcr ];
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
paramiko
|
||||
requests
|
||||
smbprotocol
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
numpy
|
||||
pytest-vcr
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
propagatedBuildInputs = [ aiohttp requests ];
|
||||
|
||||
disabledTests = [
|
||||
# Test assumes user name is part of $HOME
|
||||
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
||||
@ -43,8 +54,10 @@ buildPythonPackage rec {
|
||||
"test_touch"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fsspec" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A specification that python filesystems should adhere to";
|
||||
description = "A specification that Python filesystems should adhere to";
|
||||
homepage = "https://github.com/intake/filesystem_spec";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
|
Loading…
Reference in New Issue
Block a user