11 buildPythonPackage rec {
12 pname = "geocachingapi";
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
20 repo = "geocachingapi-python";
21 rev = "refs/tags/${version}";
22 sha256 = "sha256-C4nj4KFEwsY5V5f0Q1x+9sD8Ihz5m7b3jg2pOyB/pDg=";
29 SETUPTOOLS_SCM_PRETEND_VERSION = version;
31 propagatedBuildInputs = [
37 # Tests require a token and network access
40 pythonImportsCheck = [
45 description = "Python API to control the Geocaching API";
46 homepage = "https://github.com/Sholofly/geocachingapi-python";
47 license = with licenses; [ mit ];
48 maintainers = with maintainers; [ fab ];