Merge pull request #111807 from fabaff/xboxapi

python3Packages.xboxapi: init at 2.0.1
This commit is contained in:
Martin Weinelt
2021-02-04 13:33:55 +01:00
committed by GitHub
3 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "xboxapi";
version = "2.0.1";
src = fetchFromGitHub {
owner = "mKeRix";
repo = "xboxapi-python";
rev = version;
sha256 = "10mhvallkwf5lw91hj5rv16sziqhhjq7sgcgr28sqqnlgjnyazdd";
};
propagatedBuildInputs = [ requests ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "xboxapi" ];
meta = with lib; {
description = "Python XBOX One API wrapper";
homepage = "https://github.com/mKeRix/xboxapi-python";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}