git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.gcsfs: init at 2021.04.0
commite195c22779b0e092833d54f7160f49bf04fdafb2 authorNoah D. Brenowitz <nbren12@gmail.com> dateThu 22 Apr 2021, 08:08 (6 years ago) parentae4c837
2 files changed+39
pkgs/development/python-modules/gcsfs/default.nix+37 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/gcsfs/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, google-auth
2+, google-auth-oauthlib, requests, decorator, fsspec, ujson, aiohttp, crcmod
3+, pytest-vcr, vcrpy }:
4+
5+buildPythonPackage rec {
6+ pname = "gcsfs";
7+ version = "2021.04.0";
8+
9+ # github sources needed for test data
10+ src = fetchFromGitHub {
11+ owner = "dask";
12+ repo = pname;
13+ rev = version;
14+ sha256 = "sha256-OA43DaQue7R5d6SzfKThEQFEwJndjLfznu1LMubs5fs=";
15+ };
16+
17+ propagatedBuildInputs = [
18+ google-auth
19+ google-auth-oauthlib
20+ requests
21+ decorator
22+ fsspec
23+ aiohttp
24+ ujson
25+ crcmod
26+ ];
27+
28+ checkInputs = [ pytestCheckHook pytest-vcr vcrpy ];
29+ pythonImportsCheck = [ "gcsfs" ];
30+
31+ meta = with lib; {
32+ description = "Convenient Filesystem interface over GCS";
33+ homepage = "https://github.com/dask/gcsfs";
34+ license = licenses.bsd3;
35+ maintainers = [ maintainers.nbren12 ];
36+ };
37+}
pkgs/top-level/python-packages.nix+2
@@ -2660,6 +2660,8 @@ in {
26602660
26612661 gcovr = callPackage ../development/python-modules/gcovr { };
26622662
2663+ gcsfs = callPackage ../development/python-modules/gcsfs { };
2664+
26632665 gdal = toPythonModule (pkgs.gdal.override { pythonPackages = self; });
26642666
26652667 gdata = callPackage ../development/python-modules/gdata { };