0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.gdown: add missing dependency

This commit is contained in:
Fabian Affolter 2021-11-29 21:46:58 +01:00 committed by Jonathan Ringer
parent a851789de9
commit 19b862bc4c
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,4 +1,5 @@
{ lib { lib
, beautifulsoup4
, buildPythonApplication , buildPythonApplication
, fetchPypi , fetchPypi
, filelock , filelock
@ -11,18 +12,30 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "gdown"; pname = "gdown";
version = "4.2.0"; version = "4.2.0";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "bd871c125242a9d3691aa74f360b6b5268a58c13991bb2405fdb3ec3028307dc"; sha256 = "bd871c125242a9d3691aa74f360b6b5268a58c13991bb2405fdb3ec3028307dc";
}; };
propagatedBuildInputs = [ filelock requests tqdm setuptools six ]; propagatedBuildInputs = [
beautifulsoup4
filelock
requests
tqdm
setuptools
six
];
checkPhase = '' checkPhase = ''
$out/bin/gdown --help > /dev/null $out/bin/gdown --help > /dev/null
''; '';
pythonImportsCheck = [
"gdown"
];
meta = with lib; { meta = with lib; {
description = "A CLI tool for downloading large files from Google Drive"; description = "A CLI tool for downloading large files from Google Drive";
homepage = "https://github.com/wkentaro/gdown"; homepage = "https://github.com/wkentaro/gdown";