at master 739 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "overpy"; 12 version = "0.7"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "DinoTools"; 19 repo = "python-overpy"; 20 tag = version; 21 hash = "sha256-+bMpA4xDvnQl6Q0M2iGrsUHGLuR/gLimJgmZCMzsLvA="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "overpy" ]; 29 30 meta = with lib; { 31 description = "Python Wrapper to access the Overpass API"; 32 homepage = "https://github.com/DinoTools/python-overpy"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ firefly-cpp ]; 35 }; 36}