forked from mirrors/nixpkgs
python3Packages.gcsfs: init at 2021.04.0
This commit is contained in:
parent
ae4c837636
commit
e195c22779
37
pkgs/development/python-modules/gcsfs/default.nix
Normal file
37
pkgs/development/python-modules/gcsfs/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, google-auth
|
||||
, google-auth-oauthlib, requests, decorator, fsspec, ujson, aiohttp, crcmod
|
||||
, pytest-vcr, vcrpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gcsfs";
|
||||
version = "2021.04.0";
|
||||
|
||||
# github sources needed for test data
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-OA43DaQue7R5d6SzfKThEQFEwJndjLfznu1LMubs5fs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-auth
|
||||
google-auth-oauthlib
|
||||
requests
|
||||
decorator
|
||||
fsspec
|
||||
aiohttp
|
||||
ujson
|
||||
crcmod
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-vcr vcrpy ];
|
||||
pythonImportsCheck = [ "gcsfs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convenient Filesystem interface over GCS";
|
||||
homepage = "https://github.com/dask/gcsfs";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.nbren12 ];
|
||||
};
|
||||
}
|
|
@ -2660,6 +2660,8 @@ in {
|
|||
|
||||
gcovr = callPackage ../development/python-modules/gcovr { };
|
||||
|
||||
gcsfs = callPackage ../development/python-modules/gcsfs { };
|
||||
|
||||
gdal = toPythonModule (pkgs.gdal.override { pythonPackages = self; });
|
||||
|
||||
gdata = callPackage ../development/python-modules/gdata { };
|
||||
|
|
Loading…
Reference in a new issue