From a88c8d132a905393aefd344718fde02b5e4722c4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 21 Mar 2022 08:43:23 +0100 Subject: python3Packages.youtube-search-python: add format --- .../youtube-search-python/default.nix | 24 +++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/youtube-search-python/default.nix b/pkgs/development/python-modules/youtube-search-python/default.nix index 7d6ac8b31e4..6795ba58127 100644 --- a/pkgs/development/python-modules/youtube-search-python/default.nix +++ b/pkgs/development/python-modules/youtube-search-python/default.nix @@ -1,27 +1,37 @@ -{ lib, buildPythonPackage, pythonOlder, fetchPypi, httpx }: +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, httpx +}: buildPythonPackage rec { pname = "youtube-search-python"; version = "1.6.3"; + format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-zAza1XMKLIMZFFS0v/4ATqh6j7aEB2Y+eliE/hNPORw="; + hash = "sha256-zAza1XMKLIMZFFS0v/4ATqh6j7aEB2Y+eliE/hNPORw="; }; - propagatedBuildInputs = [ httpx ]; + propagatedBuildInputs = [ + httpx + ]; - pythonImportsCheck = [ "youtubesearchpython" ]; + pythonImportsCheck = [ + "youtubesearchpython" + ]; - # project has no tests + # Project has no tests doCheck = false; meta = with lib; { - description = "Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3"; + description = "Search for YouTube videos, channels & playlists & get video information using link without YouTube Data API"; homepage = "https://github.com/alexmercerind/youtube-search-python"; license = licenses.mit; - maintainers = [ maintainers.marsam ]; + maintainers = with maintainers; [ marsam ]; }; } -- cgit 1.4.1