818c48e259
GitOrigin-RevId: 14aef06d9b3ad1d07626bdbb16083b83f92dc6c1
32 lines
667 B
Nix
32 lines
667 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchPypi
|
|
, filelock
|
|
, requests
|
|
, tqdm
|
|
, setuptools
|
|
, six
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "gdown";
|
|
version = "4.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8025f3685faa1bed29adc8b778de305935b2cda2d691b35fb47957e1140c9f32";
|
|
};
|
|
|
|
propagatedBuildInputs = [ filelock requests tqdm setuptools six ];
|
|
|
|
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 ];
|
|
};
|
|
}
|