Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / drivelib / default.nix
blob7b0a629e8a89b1c1252f3b4df8c79bab6e0664fc
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";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "1bz3dn6wm9mlm2w8czwjmhvf3ws3iggr57hvd8z8acl1qafr2g4m";
17   };
19   propagatedBuildInputs = [
20     google-api-python-client
21     google-auth-oauthlib
22     google-auth-httplib2
23     expiringdict
24   ];
26   # tests depend on a google auth token
27   doCheck = false;
29   pythonImportsCheck = [ "drivelib" ];
31   meta = with lib; {
32     description = "Easy access to the most common Google Drive API calls";
33     homepage = "https://pypi.org/project/drivelib/";
34     license = licenses.gpl3Only;
35     maintainers = with maintainers; [ gravndal ];
36   };