33 lines
655 B
Nix
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 ];
|
|
};
|
|
}
|