Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / gdown / default.nix
blob8195bb0d4039f652da65c93c1c1305f5b35c506f
1 { lib
2 , buildPythonApplication
3 , fetchPypi
4 , filelock
5 , requests
6 , tqdm
7 , setuptools
8 , six
9 }:
11 buildPythonApplication rec {
12   pname = "gdown";
13   version = "3.12.2";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "4b3a1301e57bfd8dce939bf25ef8fbb4b23967fd0f878eede328bdcc41386bac";
18   };
20   propagatedBuildInputs = [ filelock requests tqdm setuptools six ];
22   checkPhase = ''
23     $out/bin/gdown --help > /dev/null
24   '';
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   };