Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / geocachingapi / default.nix
blobd7ad9cb5fd8a07c48cdcc40d2048b3bb7b790e87
1 { lib
2 , aiohttp
3 , backoff
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pythonOlder
7 , setuptools-scm
8 , yarl
9 }:
11 buildPythonPackage rec {
12   pname = "geocachingapi";
13   version = "0.2.3";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "Sholofly";
20     repo = "geocachingapi-python";
21     rev = "refs/tags/${version}";
22     hash = "sha256-C4nj4KFEwsY5V5f0Q1x+9sD8Ihz5m7b3jg2pOyB/pDg=";
23   };
25   nativeBuildInputs = [
26     setuptools-scm
27   ];
29   propagatedBuildInputs = [
30     aiohttp
31     backoff
32     yarl
33   ];
35   # Tests require a token and network access
36   doCheck = false;
38   pythonImportsCheck = [
39     "geocachingapi"
40   ];
42   meta = with lib; {
43     description = "Python API to control the Geocaching API";
44     homepage = "https://github.com/Sholofly/geocachingapi-python";
45     license = with licenses; [ mit ];
46     maintainers = with maintainers; [ fab ];
47   };