at master 909 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 setuptools, 7 requests, 8 pytestCheckHook, 9 responses, 10}: 11 12buildPythonPackage rec { 13 pname = "herepy"; 14 version = "3.6.5"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "abdullahselek"; 21 repo = "HerePy"; 22 tag = version; 23 hash = "sha256-8DwzzC0sTrGnMpuADc55HCIeH/KyWacv8X+Ubh+n7ZM="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ requests ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 responses 33 ]; 34 35 pythonImportsCheck = [ "herepy" ]; 36 37 meta = with lib; { 38 changelog = "https://github.com/abdullahselek/HerePy/releases/tag/${version}"; 39 description = "Library that provides a Python interface to the HERE APIs"; 40 homepage = "https://github.com/abdullahselek/HerePy"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ dotlambda ]; 43 }; 44}