fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
33 lines
692 B
Nix
33 lines
692 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xboxapi";
|
|
version = "2.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mKeRix";
|
|
repo = "xboxapi-python";
|
|
rev = version;
|
|
sha256 = "10mhvallkwf5lw91hj5rv16sziqhhjq7sgcgr28sqqnlgjnyazdd";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|