depot/third_party/nixpkgs/pkgs/development/python-modules/youtube-search-python/default.nix

38 lines
776 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, httpx
}:
buildPythonPackage rec {
pname = "youtube-search-python";
version = "1.6.5";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-1B7rppa+s/oE8w91Ca7ogjkNHu5pFSnNmDyUopCWEY8=";
};
propagatedBuildInputs = [
httpx
];
pythonImportsCheck = [
"youtubesearchpython"
];
# 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";
homepage = "https://github.com/alexmercerind/youtube-search-python";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};
}