2025-01-04 00:19:17 +01:00

41 lines
913 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "epicstore-api";
version = "0.1.9";
pyproject = true;
src = fetchFromGitHub {
owner = "SD4RK";
repo = "epicstore_api";
tag = "v_${version}";
hash = "sha256-9Gh9bsNgZx/SinKr7t1dvqrOUP+z4Gs8BFMLYtboFmg=";
};
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 ];
};
}