depot/third_party/nixpkgs/pkgs/development/python-modules/gdown/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

45 lines
780 B
Nix

{ lib
, beautifulsoup4
, buildPythonApplication
, fetchPypi
, filelock
, requests
, tqdm
, setuptools
, six
}:
buildPythonApplication rec {
pname = "gdown";
version = "4.2.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-X3onSr8PN3D24lMtKG2Y/RiKbD1qSq2n0YVO8Y5H5K4=";
};
propagatedBuildInputs = [
beautifulsoup4
filelock
requests
tqdm
setuptools
six
];
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 ];
};
}