about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gdown
diff options
context:
space:
mode:
authorBreak Yang <breakds@gmail.com>2020-06-24 21:20:53 -0700
committerJon <jonringer@users.noreply.github.com>2020-06-26 11:19:42 -0700
commit929d7dd492e3a567f22393393265166be8aa8b8d (patch)
tree4cac205a1e1b10bde11fcbd63628b36670731f33 /pkgs/development/python-modules/gdown
parentbc726a9f284d499e78517d592c3c19ee877ab723 (diff)
pythonPackages.gdown: init at 3.11.1
Diffstat (limited to 'pkgs/development/python-modules/gdown')
-rw-r--r--pkgs/development/python-modules/gdown/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gdown/default.nix b/pkgs/development/python-modules/gdown/default.nix
new file mode 100644
index 0000000000000..74eb5de4865ea
--- /dev/null
+++ b/pkgs/development/python-modules/gdown/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, buildPythonApplication
+, fetchPypi
+, filelock
+, requests
+, tqdm
+, setuptools
+}:
+
+buildPythonApplication rec {
+  pname = "gdown";
+  version = "3.11.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1p023812hh7w7d08njjsfn0xzldl4m73yx8p243yb2q49ypjl6nz";
+  };
+
+  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 ];
+  };
+}