nixpkgs-suyu/pkgs/development/python-modules/fsspec/default.nix

35 lines
651 B
Nix
Raw Normal View History

2019-08-09 02:46:01 +02:00
{ lib
, buildPythonPackage
, fetchFromGitHub
2019-08-09 02:46:01 +02:00
, pythonOlder
, 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";
src = fetchFromGitHub {
owner = "intake";
repo = "filesystem_spec";
rev = version;
sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
2019-08-09 02:46:01 +02:00
};
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
2019-08-09 02:46:01 +02:00
meta = with lib; {
description = "A specification that python filesystems should adhere to";
homepage = https://github.com/intake/filesystem_spec;
2019-08-09 02:46:01 +02:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
2019-08-09 02:46:01 +02:00
};
}