Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 887 B view raw
1{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, google-auth 2, google-auth-oauthlib, requests, decorator, fsspec, ujson, aiohttp, crcmod 3, pytest-vcr, vcrpy }: 4 5buildPythonPackage 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}