blob: 1d68197364b9872b70f0c3776cdeff05a755e9ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ stdenv
, buildPythonPackage
, fetchPypi
, google_resumable_media
, google_api_core
, google_cloud_core
, pytest
, mock
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-storage";
version = "1.20.0";
src = fetchPypi {
inherit pname version;
sha256 = "2e7e2435978bda1c209b70a9a00b8cbc53c3b00d6f09eb2c991ebba857babf24";
};
propagatedBuildInputs = [
google_resumable_media
google_api_core
google_cloud_core
setuptools
];
checkInputs = [ pytest mock ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Storage API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}
|