1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-29 04:26:32 +03:00
nixpkgs/pkgs/development/python-modules/youtube-search-python/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

34 lines
746 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
httpx,
}:
buildPythonPackage rec {
pname = "youtube-search-python";
version = "1.6.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-RWjR12ns1+tLuDZfBO7G42TF9w7sezdl9UPa67E1/PU=";
};
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 = [ ];
};
}