mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.drivelib: init at 0.3.0
This commit is contained in:
parent
59318f5570
commit
f1e9be8dc0
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/drivelib/default.nix
Normal file
37
pkgs/development/python-modules/drivelib/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, expiringdict
|
||||
, google-auth-httplib2
|
||||
, google-auth-oauthlib
|
||||
, google-api-python-client
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "drivelib";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bz3dn6wm9mlm2w8czwjmhvf3ws3iggr57hvd8z8acl1qafr2g4m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-python-client
|
||||
google-auth-oauthlib
|
||||
google-auth-httplib2
|
||||
expiringdict
|
||||
];
|
||||
|
||||
# tests depend on a google auth token
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "drivelib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy access to the most common Google Drive API calls";
|
||||
homepage = "https://pypi.org/project/drivelib/";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ gravndal ];
|
||||
};
|
||||
}
|
|
@ -2059,6 +2059,8 @@ in {
|
|||
|
||||
drf-yasg = callPackage ../development/python-modules/drf-yasg { };
|
||||
|
||||
drivelib = callPackage ../development/python-modules/drivelib { };
|
||||
|
||||
drms = callPackage ../development/python-modules/drms { };
|
||||
|
||||
dropbox = callPackage ../development/python-modules/dropbox { };
|
||||
|
|
Loading…
Reference in a new issue