nixpkgs/pkgs/development/python-modules/gdown/default.nix

32 lines
658 B
Nix
Raw Normal View History

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