1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytestCheckHook, 6 cloudscraper, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "epicstore-api"; 12 version = "0.2.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "SD4RK"; 17 repo = "epicstore_api"; 18 tag = "v_${version}"; 19 hash = "sha256-XSynUz8rAl/+jcPMCZoVKlGZLVcTCAr36VEWVhAydoM="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ cloudscraper ]; 25 26 pythonImportsCheck = [ "epicstore_api" ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 # tests directory exists but contains no test cases 31 doCheck = false; 32 33 meta = { 34 changelog = "https://github.com/SD4RK/epicstore_api/releases/tag/v_${src.tag}"; 35 description = "Epic Games Store Web API Wrapper written in Python"; 36 homepage = "https://github.com/SD4RK/epicstore_api"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ dotlambda ]; 39 }; 40}