python3Packages.xboxapi: init at 2.0.1
This commit is contained in:
parent
570d7def06
commit
9445f43a69
31
pkgs/development/python-modules/xboxapi/default.nix
Normal file
31
pkgs/development/python-modules/xboxapi/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -8324,6 +8324,8 @@ in {
|
|||||||
|
|
||||||
xattr = callPackage ../development/python-modules/xattr { };
|
xattr = callPackage ../development/python-modules/xattr { };
|
||||||
|
|
||||||
|
xboxapi = callPackage ../development/python-modules/xboxapi { };
|
||||||
|
|
||||||
xcaplib = callPackage ../development/python-modules/xcaplib { };
|
xcaplib = callPackage ../development/python-modules/xcaplib { };
|
||||||
|
|
||||||
xcffib = callPackage ../development/python-modules/xcffib { };
|
xcffib = callPackage ../development/python-modules/xcffib { };
|
||||||
|
Loading…
Reference in New Issue
Block a user