10 buildPythonPackage rec {
13 disabled = pythonOlder "3.5";
15 src = fetchFromGitHub {
17 repo = "filesystem_spec";
19 sha256 = "0mfy0wxjfwwnp5q2afhhfbampf0fk71wsv512pi9yvrkzzfi1hga";
28 # Test assumes user name is part of $HOME
29 # AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
30 "test_strip_protocol_expanduser"
31 # flaky: works locally but fails on hydra
32 # as it uses the install dir for tests instead of a temp dir
33 # resolved in https://github.com/intake/filesystem_spec/issues/432 and
34 # can be enabled again from version 0.8.4
36 ] ++ lib.optionals (stdenv.isDarwin) [
37 # works locally on APFS, fails on hydra with AssertionError comparing timestamps
38 # darwin hydra builder uses HFS+ and has only one second timestamp resolution
39 # this two tests however, assume nanosecond resolution
45 description = "A specification that python filesystems should adhere to";
46 homepage = "https://github.com/intake/filesystem_spec";
47 license = licenses.bsd3;
48 maintainers = [ maintainers.costrouc ];