3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.gdown: init at 3.11.1

This commit is contained in:
Break Yang 2020-06-24 21:20:53 -07:00 committed by Jon
parent bc726a9f28
commit 929d7dd492
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonApplication
, fetchPypi
, filelock
, requests
, tqdm
, setuptools
}:
buildPythonApplication rec {
pname = "gdown";
version = "3.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "1p023812hh7w7d08njjsfn0xzldl4m73yx8p243yb2q49ypjl6nz";
};
propagatedBuildInputs = [ filelock requests tqdm setuptools ];
checkPhase = ''
$out/bin/gdown --help > /dev/null
'';
meta = with lib; {
description = "A CLI tool for downloading large files from Google Drive";
homepage = "https://github.com/wkentaro/gdown";
license = licenses.mit;
maintainers = with maintainers; [ breakds ];
};
}

View file

@ -3880,6 +3880,8 @@ in
google-cloud-cpp = callPackage ../development/libraries/google-cloud-cpp { };
gdown = with python3Packages; toPythonApplication gdown;
gopro = callPackage ../tools/video/gopro { };
gource = callPackage ../applications/version-management/gource { };

View file

@ -2963,6 +2963,8 @@ in {
googletrans = callPackage ../development/python-modules/googletrans { };
gdown = callPackage ../development/python-modules/gdown { };
gpapi = callPackage ../development/python-modules/gpapi { };
gplaycli = callPackage ../development/python-modules/gplaycli { };