linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / python-twitch-client / default.nix
blob30f6ab9a0a710b01203c2d079915d9dff99af013
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , requests
7 , responses
8 }:
10 buildPythonPackage rec {
11   pname = "python-twitch-client";
12   version = "0.7.1";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "tsifrer";
17     repo = pname;
18     rev = version;
19     sha256 = "10wwkam3dw0nqr3v9xzigx1zjlrnrhzr7jvihddvzi84vjb6j443";
20   };
22   propagatedBuildInputs = [ requests ];
24   checkInputs = [
25     pytestCheckHook
26     responses
27   ];
29   pythonImportsCheck = [ "twitch" ];
31   meta = with lib; {
32     description = "Python wrapper for the Twitch API";
33     homepage = "https://github.com/tsifrer/python-twitch-client";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };