3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fsspec/default.nix

35 lines
651 B
Nix
Raw Normal View History

2019-08-09 01:46:01 +01:00
{ lib
, buildPythonPackage
, fetchFromGitHub
2019-08-09 01:46:01 +01:00
, pythonOlder
, 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";
src = fetchFromGitHub {
owner = "intake";
repo = "filesystem_spec";
rev = version;
sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
2019-08-09 01:46:01 +01:00
};
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
2019-08-09 01:46:01 +01:00
meta = with lib; {
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;
maintainers = [ maintainers.costrouc ];
2019-08-09 01:46:01 +01:00
};
}