Merge pull request #156869 from WolfangAukang/python-trovo

python310Packages.python-trovo: init at 0.1.5
This commit is contained in:
Fabian Affolter 2022-03-05 09:37:43 +01:00 committed by GitHub
commit 35fe0db364
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -8245,6 +8245,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 { };