python3Packages.youtube-search-python: add format

This commit is contained in:
Fabian Affolter 2022-03-21 08:43:23 +01:00 committed by GitHub
parent aba19ebf98
commit a88c8d132a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}