Commit 017aa7d3 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.epicstore-api: init at 0.1.8

parent d3353b07
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };