Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / xboxapi / default.nix
blob973f2f6aba24a0db3a950f90ae574f2864333750
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "xboxapi";
10   version = "2.0.1";
12   src = fetchFromGitHub {
13     owner = "mKeRix";
14     repo = "xboxapi-python";
15     rev = version;
16     sha256 = "10mhvallkwf5lw91hj5rv16sziqhhjq7sgcgr28sqqnlgjnyazdd";
17   };
19   propagatedBuildInputs = [ requests ];
21   checkInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "xboxapi" ];
25   meta = with lib; {
26     description = "Python XBOX One API wrapper";
27     homepage = "https://github.com/mKeRix/xboxapi-python";
28     license = with licenses; [ mit ];
29     maintainers = with maintainers; [ fab ];
30   };