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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
780 B
Nix
Raw Normal View History

2020-06-25 05:20:53 +01:00
{ lib
, beautifulsoup4
2020-06-25 05:20:53 +01:00
, buildPythonApplication
, fetchPypi
, filelock
, requests
, tqdm
, setuptools
, six
2020-06-25 05:20:53 +01:00
}:
buildPythonApplication rec {
pname = "gdown";
2022-02-27 06:13:37 +00:00
version = "4.4.0";
format = "setuptools";
2020-06-25 05:20:53 +01:00
src = fetchPypi {
inherit pname version;
2022-02-27 06:13:37 +00:00
sha256 = "sha256-GPw6TaSiJz3reqKcdIa+TfORnZBBWK1qaj4lyBFUcNc=";
2020-06-25 05:20:53 +01:00
};
propagatedBuildInputs = [
beautifulsoup4
filelock
requests
tqdm
setuptools
six
];
2020-06-25 05:20:53 +01:00
checkPhase = ''
$out/bin/gdown --help > /dev/null
'';
pythonImportsCheck = [
"gdown"
];
2020-06-25 05:20:53 +01:00
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 ];
};
}