nixpkgs/pkgs/development/python-modules/gdown/default.nix
2021-09-17 13:13:41 -07:00

33 lines
655 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, filelock
, requests
, tqdm
, setuptools
, six
}:
buildPythonApplication rec {
pname = "gdown";
version = "3.13.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vh1NKRPk1e5cT3cVj8IrzmpaZ9yY2KtWrTGsCU9KkP4=";
};
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 ];
};
}