Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / drivelib / default.nix
blob5125be5a418da01bf3c583d03662e8875ed69e0f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , expiringdict
5 , google-auth-httplib2
6 , google-auth-oauthlib
7 , google-api-python-client
8 }:
10 buildPythonPackage rec {
11   pname = "drivelib";
12   version = "0.3.0";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "1bz3dn6wm9mlm2w8czwjmhvf3ws3iggr57hvd8z8acl1qafr2g4m";
18   };
20   propagatedBuildInputs = [
21     google-api-python-client
22     google-auth-oauthlib
23     google-auth-httplib2
24     expiringdict
25   ];
27   # tests depend on a google auth token
28   doCheck = false;
30   pythonImportsCheck = [ "drivelib" ];
32   meta = with lib; {
33     description = "Easy access to the most common Google Drive API calls";
34     homepage = "https://pypi.org/project/drivelib/";
35     license = licenses.gpl3Only;
36     maintainers = with maintainers; [ gravndal ];
37   };