wlroots: 0.18.1 -> 0.18.2 (#364488)
[NixPkgs.git] / pkgs / development / python-modules / drivelib / default.nix
blob0135ca72954cf3f05d69ff48742096b09e48500f
2   lib,
3   buildPythonPackage,
4   expiringdict,
5   fetchPypi,
6   google-api-python-client,
7   google-auth-httplib2,
8   google-auth-oauthlib,
9   pythonOlder,
10   setuptools,
11   versioneer,
14 buildPythonPackage rec {
15   pname = "drivelib";
16   version = "0.3.0";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-lTyRncKBMoU+ahuekt+LQ/PhNqySf4a4qLSmyo1t468=";
24   };
26   postPatch = ''
27     # Remove vendorized versioneer.py
28     rm versioneer.py
29   '';
31   build-system = [
32     setuptools
33     versioneer
34   ];
36   dependencies = [
37     expiringdict
38     google-api-python-client
39     google-auth-httplib2
40     google-auth-oauthlib
41   ];
43   # Tests depend on a google auth token
44   doCheck = false;
46   pythonImportsCheck = [ "drivelib" ];
48   meta = with lib; {
49     description = "Easy access to the most common Google Drive API calls";
50     homepage = "https://github.com/Lykos153/python-drivelib";
51     license = licenses.gpl3Only;
52     maintainers = with maintainers; [ gravndal ];
53   };