Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pydexcom / default.nix
blobf83d3cbf1102b3826ab12d70cd6754e76007d38e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "pydexcom";
9   version = "0.2.0";
11   src = fetchFromGitHub {
12     owner = "gagebenne";
13     repo = pname;
14     rev = version;
15     sha256 = "19h7r0qbsqd6k6g4nz6z3k9kdmk0sx5zpsrgxwnhsff5fqi0y2ls";
16   };
18   propagatedBuildInputs = [ requests ];
20   # tests are interacting with the Dexcom API
21   doCheck = false;
22   pythonImportsCheck = [ "pydexcom" ];
24   meta = with lib; {
25     description = "Python API to interact with Dexcom Share service";
26     homepage = "https://github.com/gagebenne/pydexcom";
27     license = with licenses; [ mit ];
28     maintainers = with maintainers; [ fab ];
29   };