3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/gdown/default.nix

33 lines
668 B
Nix
Raw Normal View History

2020-06-25 05:20:53 +01:00
{ lib
, buildPythonApplication
, fetchPypi
, filelock
, requests
, tqdm
, setuptools
, six
2020-06-25 05:20:53 +01:00
}:
buildPythonApplication rec {
pname = "gdown";
version = "3.13.0";
2020-06-25 05:20:53 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "d5f9389539673875712beba4936c4ace95d24324953c6f0408a858c534c0bf21";
2020-06-25 05:20:53 +01:00
};
propagatedBuildInputs = [ filelock requests tqdm setuptools six ];
2020-06-25 05:20:53 +01:00
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 ];
};
}