python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / geocachingapi / default.nix
blob55e817ce2748c300a89f5c93ea2027bb515dec74
2   lib,
3   aiohttp,
4   backoff,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pythonOlder,
8   setuptools-scm,
9   yarl,
12 buildPythonPackage rec {
13   pname = "geocachingapi";
14   version = "0.2.3";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "Sholofly";
21     repo = "geocachingapi-python";
22     rev = "refs/tags/${version}";
23     hash = "sha256-C4nj4KFEwsY5V5f0Q1x+9sD8Ihz5m7b3jg2pOyB/pDg=";
24   };
26   nativeBuildInputs = [ setuptools-scm ];
28   propagatedBuildInputs = [
29     aiohttp
30     backoff
31     yarl
32   ];
34   # Tests require a token and network access
35   doCheck = false;
37   pythonImportsCheck = [ "geocachingapi" ];
39   meta = with lib; {
40     description = "Python API to control the Geocaching API";
41     homepage = "https://github.com/Sholofly/geocachingapi-python";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ fab ];
44   };