diff --git a/pkgs/development/python-modules/gdown/default.nix b/pkgs/development/python-modules/gdown/default.nix index 200735a5279e..4ff22bd1fa2b 100644 --- a/pkgs/development/python-modules/gdown/default.nix +++ b/pkgs/development/python-modules/gdown/default.nix @@ -3,27 +3,23 @@ beautifulsoup4, buildPythonPackage, fetchPypi, - hatchling, - hatch-vcs, - hatch-fancy-pypi-readme, filelock, + hatch-fancy-pypi-readme, + hatch-vcs, + hatchling, requests, - tqdm, setuptools, - six, - pythonOlder, + tqdm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "gdown"; - version = "5.2.0"; + version = "5.2.1"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; - hash = "sha256-IUUWUGLYVSCjzZizVsntUixeeYTUCFNUCf1G+U3vx4c="; + inherit (finalAttrs) pname version; + hash = "sha256-JHwq0fV521tmtUwE5qhxmV/I/XAhcIuVC4unsyz5AyM="; }; build-system = [ @@ -32,13 +28,12 @@ buildPythonPackage rec { hatch-fancy-pypi-readme ]; - propagatedBuildInputs = [ + dependencies = [ beautifulsoup4 filelock requests - tqdm setuptools - six + tqdm ] ++ requests.optional-dependencies.socks; @@ -50,10 +45,10 @@ buildPythonPackage rec { meta = { description = "CLI tool for downloading large files from Google Drive"; - mainProgram = "gdown"; homepage = "https://github.com/wkentaro/gdown"; - changelog = "https://github.com/wkentaro/gdown/releases/tag/v${version}"; + changelog = "https://github.com/wkentaro/gdown/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ breakds ]; + mainProgram = "gdown"; }; -} +})