python3Packages.fsspec: 2021.04.0 -> 2021.05.0
This commit is contained in:
parent
fe84261826
commit
0b963e0fed
@ -1,33 +1,44 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, numpy
|
, numpy
|
||||||
, stdenv
|
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, pytest-vcr
|
, pytest-vcr
|
||||||
, requests
|
, requests
|
||||||
|
, paramiko
|
||||||
|
, smbprotocol
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fsspec";
|
pname = "fsspec";
|
||||||
version = "2021.04.0";
|
version = "2021.05.0";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intake";
|
owner = "intake";
|
||||||
repo = "filesystem_spec";
|
repo = "filesystem_spec";
|
||||||
rev = version;
|
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;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp requests ];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test assumes user name is part of $HOME
|
# Test assumes user name is part of $HOME
|
||||||
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
||||||
@ -43,8 +54,10 @@ buildPythonPackage rec {
|
|||||||
"test_touch"
|
"test_touch"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "fsspec" ];
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
homepage = "https://github.com/intake/filesystem_spec";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
Loading…
Reference in New Issue
Block a user