Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 668 B view raw
1{ lib 2, buildPythonApplication 3, fetchPypi 4, filelock 5, requests 6, tqdm 7, setuptools 8, six 9}: 10 11buildPythonApplication rec { 12 pname = "gdown"; 13 version = "3.12.2"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "4b3a1301e57bfd8dce939bf25ef8fbb4b23967fd0f878eede328bdcc41386bac"; 18 }; 19 20 propagatedBuildInputs = [ filelock requests tqdm setuptools six ]; 21 22 checkPhase = '' 23 $out/bin/gdown --help > /dev/null 24 ''; 25 26 meta = with lib; { 27 description = "A CLI tool for downloading large files from Google Drive"; 28 homepage = "https://github.com/wkentaro/gdown"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ breakds ]; 31 }; 32}