02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
25 lines
659 B
Nix
25 lines
659 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "youtube-search";
|
|
version = "2.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-veu7PUPAbTz3B7tRYMGptIMbmmaGLCdL6azv0kCEd08=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# tests require network connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "youtube_search" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for searching for youtube videos to avoid using their heavily rate-limited API";
|
|
homepage = "https://github.com/joetats/youtube_search";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ j0hax ];
|
|
};
|
|
}
|