From ccd3e55d5a6447c91c2f7ebc60d94b96ebdef597 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 11 Jan 2026 12:34:16 +0000 Subject: [PATCH 1/2] python3Packages.gdown: 5.2.0 -> 5.2.1 --- pkgs/development/python-modules/gdown/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gdown/default.nix b/pkgs/development/python-modules/gdown/default.nix index 200735a5279e..ef885602c899 100644 --- a/pkgs/development/python-modules/gdown/default.nix +++ b/pkgs/development/python-modules/gdown/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { 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="; + hash = "sha256-JHwq0fV521tmtUwE5qhxmV/I/XAhcIuVC4unsyz5AyM="; }; build-system = [ From 02138a25ff2ba30c2522bce7603fb372b863df12 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Jan 2026 14:14:19 +0100 Subject: [PATCH 2/2] python313Packages.gdown: modernize --- .../python-modules/gdown/default.nix | 27 ++++++++----------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/gdown/default.nix b/pkgs/development/python-modules/gdown/default.nix index ef885602c899..4ff22bd1fa2b 100644 --- a/pkgs/development/python-modules/gdown/default.nix +++ b/pkgs/development/python-modules/gdown/default.nix @@ -3,26 +3,22 @@ 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.1"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-JHwq0fV521tmtUwE5qhxmV/I/XAhcIuVC4unsyz5AyM="; }; @@ -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"; }; -} +})