From 664142b93f0bacd2611c351cdeacfc3dbdec19a4 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 28 Oct 2022 04:20:00 +0000 Subject: [PATCH] gallery-dl: 1.23.3 -> 1.23.4 https://github.com/mikf/gallery-dl/releases/tag/v1.23.4 --- pkgs/applications/misc/gallery-dl/default.nix | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/misc/gallery-dl/default.nix b/pkgs/applications/misc/gallery-dl/default.nix index ead8475e4346..14160eadf20f 100644 --- a/pkgs/applications/misc/gallery-dl/default.nix +++ b/pkgs/applications/misc/gallery-dl/default.nix @@ -1,17 +1,24 @@ { lib, buildPythonApplication, fetchPypi, requests, yt-dlp, pytestCheckHook }: buildPythonApplication rec { - pname = "gallery_dl"; - version = "1.23.3"; + pname = "gallery-dl"; + version = "1.23.4"; + format = "setuptools"; src = fetchPypi { - inherit pname version; - sha256 = "sha256-CoZN0cLXSujZRSGFX3dsNGuvgupa4t1VrEoW+Zu41yw="; + inherit version; + pname = "gallery_dl"; + sha256 = "sha256-IpbV6wWIfRDuljX/Bexo9siFXMezeCRBFK5CzVH0vUU="; }; - propagatedBuildInputs = [ requests yt-dlp ]; + propagatedBuildInputs = [ + requests + yt-dlp + ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; pytestFlagsArray = [ # requires network access @@ -22,7 +29,9 @@ buildPythonApplication rec { "--ignore=test/test_ytdl.py" ]; - pythonImportsCheck = [ "gallery_dl" ]; + pythonImportsCheck = [ + "gallery_dl" + ]; meta = with lib; { description = "Command-line program to download image-galleries and -collections from several image hosting sites";