biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pydexcom / default.nix
blob996fce70df66406a9a9d50c1847b13e608d4e86f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   requests,
7   setuptools,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "pydexcom";
13   version = "0.4.0";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "gagebenne";
20     repo = "pydexcom";
21     rev = "refs/tags/${version}";
22     hash = "sha256-gMUdVdO2Yy41Nl+mn9dEegb6/IRBwoBviPhuz3CMfS8=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   propagatedBuildInputs = [ requests ];
32   # Tests are interacting with the Dexcom API
33   doCheck = false;
35   pythonImportsCheck = [ "pydexcom" ];
37   meta = with lib; {
38     description = "Python API to interact with Dexcom Share service";
39     homepage = "https://github.com/gagebenne/pydexcom";
40     changelog = "https://github.com/gagebenne/pydexcom/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };