python310Packages.python-trovo: init at 0.1.5

This commit is contained in:
P. R. d. O 2022-02-26 10:02:37 -06:00
parent ce25f6f2db
commit b47a7f6bce
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "python-trovo";
version = "0.1.5";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JUJax9nk4NqpMMrbDmQhcy22GIqPha+K4tudQ98PvlE=";
};
propagatedBuildInputs = [ requests ];
# No tests found
doCheck = false;
pythonImportsCheck = [ "trovoApi" ];
meta = with lib; {
description = "A Python wrapper for the Trovo API";
homepage = "https://codeberg.org/wolfangaukang/python-trovo";
license = licenses.gpl3Only;
maintainers = with maintainers; [ wolfangaukang ];
};
}

View File

@ -8225,6 +8225,8 @@ in {
python-toolbox = callPackage ../development/python-modules/python-toolbox { };
python-trovo = callPackage ../development/python-modules/python-trovo { };
python-twitch-client = callPackage ../development/python-modules/python-twitch-client { };
python-twitter = callPackage ../development/python-modules/python-twitter { };