2019-08-09 01:46:01 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-12-29 22:52:40 +00:00
|
|
|
, fetchFromGitHub
|
2019-08-09 01:46:01 +01:00
|
|
|
, pythonOlder
|
2019-12-29 22:52:40 +00:00
|
|
|
, pytest
|
2019-08-09 01:46:01 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fsspec";
|
2019-12-19 19:31:11 +00:00
|
|
|
version = "0.6.2";
|
2019-08-09 01:46:01 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2019-12-29 22:52:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intake";
|
|
|
|
repo = "filesystem_spec";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
|
2019-08-09 01:46:01 +01:00
|
|
|
};
|
|
|
|
|
2019-12-29 22:52:40 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
2019-08-09 01:46:01 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-12-29 22:52:40 +00:00
|
|
|
description = "A specification that python filesystems should adhere to";
|
|
|
|
homepage = https://github.com/intake/filesystem_spec;
|
2019-08-09 01:46:01 +01:00
|
|
|
license = licenses.bsd3;
|
2019-12-29 22:52:40 +00:00
|
|
|
maintainers = [ maintainers.costrouc ];
|
2019-08-09 01:46:01 +01:00
|
|
|
};
|
|
|
|
}
|