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