blob: 7399d141a564931dbed7177af0170521dfb9acc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, beautifulsoup4
, buildPythonApplication
, fetchPypi
, filelock
, requests
, tqdm
, setuptools
, six
}:
buildPythonApplication rec {
pname = "gdown";
version = "4.4.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-GPw6TaSiJz3reqKcdIa+TfORnZBBWK1qaj4lyBFUcNc=";
};
propagatedBuildInputs = [
beautifulsoup4
filelock
requests
tqdm
setuptools
six
]
++ requests.optional-dependencies.socks;
checkPhase = ''
$out/bin/gdown --help > /dev/null
'';
pythonImportsCheck = [
"gdown"
];
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 ];
};
}
|