blob: 4bc4e125c36452402d2fa747b03372b98260d610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
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/v_${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 ];
};
}
|