python3Packages.python-twitch-client: init at 0.7.1

This commit is contained in:
Fabian Affolter 2021-02-20 14:51:49 +01:00
parent e59a33db58
commit db100ec834
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
, responses
}:
buildPythonPackage rec {
pname = "python-twitch-client";
version = "0.7.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tsifrer";
repo = pname;
rev = version;
sha256 = "10wwkam3dw0nqr3v9xzigx1zjlrnrhzr7jvihddvzi84vjb6j443";
};
propagatedBuildInputs = [ requests ];
checkInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [ "twitch" ];
meta = with lib; {
description = "Python wrapper for the Twitch API";
homepage = "https://github.com/tsifrer/python-twitch-client";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

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