Files
nixpkgs/pkgs/development/python-modules/epicstore-api/default.nix
2026-04-28 16:29:23 -07:00

41 lines
919 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
cloudscraper,
setuptools,
}:
buildPythonPackage rec {
pname = "epicstore-api";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "SD4RK";
repo = "epicstore_api";
tag = "v_${version}";
hash = "sha256-XSynUz8rAl/+jcPMCZoVKlGZLVcTCAr36VEWVhAydoM=";
};
build-system = [ setuptools ];
dependencies = [ cloudscraper ];
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/${src.tag}";
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 ];
};
}