mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / pydexcom / default.nix
blob29a250160add72025f0d0b30c973726defa21032
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   hatch-vcs,
6   hatchling,
7   pythonOlder,
8   requests,
9 }:
11 buildPythonPackage rec {
12   pname = "pydexcom";
13   version = "0.4.1";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "gagebenne";
20     repo = "pydexcom";
21     rev = "refs/tags/${version}";
22     hash = "sha256-cf3AhqaA5aij2NCeFqruoeE0ovJSgZgEnVHcE3iXJ1s=";
23   };
25   build-system = [
26     hatchling
27     hatch-vcs
28   ];
30   dependencies = [ 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 = licenses.mit;
42     maintainers = with maintainers; [ fab ];
43   };