1{ lib
2, buildPythonApplication
3, fetchPypi
4, filelock
5, requests
6, tqdm
7, setuptools
8, six
9}:
10
11buildPythonApplication rec {
12 pname = "gdown";
13 version = "4.0.2";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-XSYc3mCsFW+x6aZFDNtUE9lHv9vPUvkdsqmbtFX7aQw=";
18 };
19
20 propagatedBuildInputs = [ filelock requests tqdm setuptools six ];
21
22 checkPhase = ''
23 $out/bin/gdown --help > /dev/null
24 '';
25
26 meta = with lib; {
27 description = "A CLI tool for downloading large files from Google Drive";
28 homepage = "https://github.com/wkentaro/gdown";
29 license = licenses.mit;
30 maintainers = with maintainers; [ breakds ];
31 };
32}