Merge pull request #336852 from dotlambda/python3Packages.epicstore-api
home-assistant: support epic_games_store component
This commit is contained in:
commit
668e3549d2
40
pkgs/development/python-modules/epicstore-api/default.nix
Normal file
40
pkgs/development/python-modules/epicstore-api/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "epicstore-api";
|
||||
version = "0.1.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SD4RK";
|
||||
repo = "epicstore_api";
|
||||
rev = "refs/tags/v_${version}";
|
||||
hash = "sha256-AF2yNb06GShdaMS74pGFdHeM4U6ULdMCPzCyh8gSck0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
pythonImportsCheck = [ "epicstore_api" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
# tests directory exists but contains no test cases
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/SD4RK/epicstore_api/releases/tag/v_${version}";
|
||||
description = "Epic Games Store Web API Wrapper written in Python";
|
||||
homepage = "https://github.com/SD4RK/epicstore_api";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -1069,7 +1069,8 @@
|
||||
pyephember
|
||||
];
|
||||
"epic_games_store" = ps: with ps; [
|
||||
]; # missing inputs: epicstore-api
|
||||
epicstore-api
|
||||
];
|
||||
"epion" = ps: with ps; [
|
||||
epion
|
||||
];
|
||||
@ -5023,6 +5024,7 @@
|
||||
"enocean"
|
||||
"enphase_envoy"
|
||||
"environment_canada"
|
||||
"epic_games_store"
|
||||
"epion"
|
||||
"epson"
|
||||
"eq3btsmart"
|
||||
|
@ -3996,6 +3996,8 @@ self: super: with self; {
|
||||
|
||||
ephemeral-port-reserve = callPackage ../development/python-modules/ephemeral-port-reserve { };
|
||||
|
||||
epicstore-api = callPackage ../development/python-modules/epicstore-api { };
|
||||
|
||||
epion = callPackage ../development/python-modules/epion { };
|
||||
|
||||
epitran = callPackage ../development/python-modules/epitran { };
|
||||
|
Loading…
Reference in New Issue
Block a user